Module:Sandbox/One Bar: Difference between revisions

One Bar (talk | contribs)
No edit summary
One Bar (talk | contribs)
No edit summary
Line 23: Line 23:
local filtered = {}
local filtered = {}
for _, hero in ipairs(heroes_data) do
for _, hero in ipairs(heroes_data) do
if (not hero["IsDisabled"]) then
local is_disabled = hero["IsDisabled"]
if (not is_disabled) then
table.insert(filtered, hero)
table.insert(filtered, hero)
end
end