diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-08-22 22:02:08 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-08-22 22:03:02 +0200 |
commit | ee3491dfa8d5d5f0f92b28ba26f9b36d3573e38f (patch) | |
tree | 68828c019a056f16dc82444163809043a30ef77c | |
parent | d6c54ad560b028e8ba581a58ac85b6a96468387c (diff) | |
download | washingtons-war-ee3491dfa8d5d5f0f92b28ba26f9b36d3573e38f.tar.gz |
Fix battle tie breaker if America is the attacker.
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2976,7 +2976,7 @@ function resolve_battle() { if (game.active === P_BRITAIN) victor = b_roll + b_drm >= a_roll + a_drm ? P_BRITAIN : P_AMERICA else - victor = b_roll + b_drm >= a_roll + a_drm ? P_BRITAIN : P_AMERICA + victor = a_roll + a_drm >= b_roll + b_drm ? P_AMERICA : P_BRITAIN let a_lost_cu, b_lost_cu if (victor === P_BRITAIN) { |