Module:HeroData: Difference between revisionsGive feedback
Gammaton32 (talk | contribs) simplified get_hero_tag parameters |
Gammaton32 (talk | contribs) added in_development check |
||
| Line 506: | Line 506: | ||
-- 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["InDevelopment"] | in_development = hero_data["InDevelopment"] | ||
if (not in_development) then | |||
is_disabled = hero_data["IsDisabled"] | is_disabled = hero_data["IsDisabled"] | ||
if (not is_disabled) then | if (not is_disabled) then | ||
| Line 586: | Line 587: | ||
first_hero = false | first_hero = false | ||
end | |||
end | end | ||
end | end | ||