diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-12-10 22:25:55 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-12-10 22:25:55 +0000 |
commit | a8217d42830a75151686701cd306072bc687e532 (patch) | |
tree | ea5b86d886ca3c1e2668a55566ce75d35765d2c6 | |
parent | 20d88e5c423b53ff91cf08c4d2c84b96b4376db5 (diff) | |
download | 1989-dawn-of-freedom-a8217d42830a75151686701cd306072bc687e532.tar.gz |
Fix typo
-rw-r--r-- | rules.js | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -5147,24 +5147,28 @@ function vm_remove_all_infl() { function vm_do_remove_all_infl(space) { push_undo() - + let starting_control = check_control(space) if (game.remove_opponent_infl === true) { if (game.active === COM) { - log(`Removed all Democratic SP from %${space}.`) game.demInfl[space] = 0 + let end_control = check_control(space) + log(`Removed all Democratic SP from %${space}${get_icons(starting_control, end_control)}`) } else { - log(`Removed all Communist SP from %${space}.`) game.comInfl[space] = 0 + let end_control = check_control(space) + log(`Removed all Communist SP from %${space}${get_icons(starting_control, end_control)}`) } check_tyrant() } else { if (game.active === COM) { - log(`Removed all Communist SP from %${space}.`) game.comInfl[space] = 0 + let end_control = check_control(space) + log(`Removed all Communist SP from %${space}${get_icons(starting_control, end_control)}`) } else { - log(`Removed all Democratic SP from %${space}.`) game.demInfl[space] = 0 + let end_control = check_control(space) + log(`Removed all Democratic SP from %${space}${get_icons(starting_control, end_control)}`) } check_tyrant() } |