More actions
m now its funny |
m bugfix for in develop/disabled |
||
Line 390: | Line 390: | ||
for hero_key, hero_data in pairs(heroes_data) do | for hero_key, hero_data in pairs(heroes_data) do | ||
-- Ensure they are not in development and they are an active hero | -- Ensure they are not in development and they are an active hero | ||
in_development = hero_data[" | in_development = hero_data["InDevelopment"] | ||
is_disabled = hero_data[" | is_disabled = hero_data["IsDisabled"] | ||
if (not in_development and not is_disabled | if ((not in_development) and (not is_disabled)) then | ||
--Add the row's stats | --Add the row's stats |