diff options
author | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-11-23 05:47:14 +0100 |
---|---|---|
committer | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-11-23 05:47:14 +0100 |
commit | 943839692c937960f479bae00ba393e25ae36560 (patch) | |
tree | 4ac181f59d6a72016346df817ab0f710d13a58d8 | |
parent | 5ddb954b3dcfc74c4d9f20831e9450922be69483 (diff) | |
download | votes-for-women-943839692c937960f479bae00ba393e25ae36560.tar.gz |
remove state after 19th was ratified/rejected
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2243,10 +2243,11 @@ function on_4th_cube(us_state) { } } -// XXX pick a better name function after_vm_add_cube(us_state) { if (player_cubes(us_state) === 4) { on_4th_cube(us_state) + if (game.nineteenth_amendment) + set_delete(game.vm.us_states, us_state) if (check_victory()) return true } @@ -2314,7 +2315,6 @@ states.vm_remove_cubes = { } } -// XXX pick a better name function after_vm_remove_cube(us_state) { map_incr(game.vm.removed, us_state, 1) |