Skip to content
Snippets Groups Projects
Commit d022cb95 authored by vas's avatar vas
Browse files

fix evaluating object as array

parent 3aa24dbc
No related branches found
No related tags found
2 merge requests!2047RA rework,!1697fix evaluating object as array
......@@ -120,7 +120,7 @@ Filter by Region:
<</link>>@@ @@.zeroButton;<<link '0'>>
<<run setup.baseNationalities.filter(function(n) {
var races = setup.raceSelector[n] || setup.raceSelector[''];
return races['" + _race.toLowerCase() + "'] * 2 > hashSum(races.length); }).forEach(function(n) { delete $nationalities[n]; })>>
return races['" + _race.toLowerCase() + "'] * 2 > hashSum(races); }).forEach(function(n) { delete $nationalities[n]; })>>
<<replace '#PopControl'>><<include 'Basenationalities Controls'>><</replace>>
<</link>>@@</div>">>
<</if>>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment