summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-08-02 11:26:45 +0200
committerTor Andersson <tor@ccxvii.net>2024-08-02 11:42:59 +0200
commit5810ca5b1e7c22e3544e1c40ca484cfa8d1ad632 (patch)
tree3353764f33c8030101bd67a29656685ef7a19795
parent209b4f203e58606a92e2ac52ac99417bef988b53 (diff)
downloadfriedrich-5810ca5b1e7c22e3544e1c40ca484cfa8d1ad632.tar.gz
fix eased victory display in client
-rw-r--r--play.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/play.js b/play.js
index 3bd7b21..90db6bf 100644
--- a/play.js
+++ b/play.js
@@ -179,6 +179,8 @@ function has_power_dropped_out(pow) {
}
function has_eased_victory(power) {
+ if (is_austrian_theatre() || is_war_in_the_west())
+ return false
if (power === P_SWEDEN)
return has_russia_dropped_out()
if (power === P_AUSTRIA)