Module:Sandbox/One Bar: Difference between revisions

Jump to navigation Jump to search
One Bar (talk | contribs)
rename var
One Bar (talk | contribs)
wrong table
Line 22: Line 22:
local function filtered_heroes()
local function filtered_heroes()
local filtered = {}
local filtered = {}
for _, hero in ipairs(soul_unlocks_data) do
for _, hero in ipairs(heroes_data) do
if (not hero["isDisabled"]) then
if (not hero["isDisabled"]) then
table.insert(filtered, hero)
table.insert(filtered, hero)