diff options
-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() } |