Editing Module:LevelTablesGive feedback
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 77: | Line 77: | ||
local filtered_heroes = {} | local filtered_heroes = {} | ||
for _, hero in pairs(heroes_data) do | for _, hero in pairs(heroes_data) do | ||
if (not hero["IsDisabled"] and not hero["InDevelopment | if (not hero["IsDisabled"] and not hero["InDevelopment"]) then | ||
table.insert(filtered_heroes, hero) | table.insert(filtered_heroes, hero) | ||
end | end | ||