diff options
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 24 |
1 files changed, 8 insertions, 16 deletions
@@ -676,14 +676,10 @@ define_indian("gray", SHAWIANGTO, "Tuscarora") const within_two_of_canajoharie = [ CANAJOHARIE ] for_each_exit(CANAJOHARIE, one => { - if (!set_has(within_two_of_canajoharie, one)) { - set_add(within_two_of_canajoharie, one) - for_each_exit(one, two => { - if (!set_has(within_two_of_canajoharie, two)) { - set_add(within_two_of_canajoharie, two) - } - }) - } + set_add(within_two_of_canajoharie, one) + for_each_exit(one, two => { + set_add(within_two_of_canajoharie, two) + }) }) const within_two_of_gray_settlement = [] @@ -692,14 +688,10 @@ indians.spaces_from_color.gray.forEach(zero => { }) indians.spaces_from_color.gray.forEach(zero => { for_each_exit(zero, one => { - if (!set_has(within_two_of_gray_settlement, one)) { - set_add(within_two_of_gray_settlement, one) - for_each_exit(one, two => { - if (!set_has(within_two_of_gray_settlement, two)) { - set_add(within_two_of_gray_settlement, two) - } - }) - } + set_add(within_two_of_gray_settlement, one) + for_each_exit(one, two => { + set_add(within_two_of_gray_settlement, two) + }) }) }) |