diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-11-01 00:50:56 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-11-01 00:50:56 +0100 |
commit | 831f8f38ac8f3983db9a3f1900ccf7225366dac1 (patch) | |
tree | c2bd2039c61ab79c1cdcd264fcd8ee7465d04735 /rules.js | |
parent | 35af7e5a32b936c4d91e7469c6a6e384afb983a9 (diff) | |
download | maria-831f8f38ac8f3983db9a3f1900ccf7225366dac1.tar.gz |
fix logging glitch with events that grant troops
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4629,7 +4629,6 @@ states.political_troop_power = { } else { goto_political_troops_place() } - game.count = info.troops }, pass() { let info = event_troops[current_political_effect()] @@ -4673,6 +4672,8 @@ function can_add_troops() { } function goto_political_troops_place() { + let info = event_troops[current_political_effect()] + game.count = info.troops log(power_name[game.power] + " " + game.count + " troops.") if (can_add_troops()) game.state = "political_troops_place" |