summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-06-16 16:55:14 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-16 19:08:56 +0100
commite334031e0d7fdf684c98f4f3ac1c96fcc6309fc6 (patch)
treeeba595ed7e3348d89c7108ef7927378b2bfbd723 /rules.js
parent12893a92a8a382ae1049f0937c195f193f103ed0 (diff)
downloadjulius-caesar-e334031e0d7fdf684c98f4f3ac1c96fcc6309fc6.tar.gz
caesar: Clear 'who' if you end movement phase during a move.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 4166da8..51c0765 100644
--- a/rules.js
+++ b/rules.js
@@ -1388,6 +1388,7 @@ function end_movement() {
game.mercury == game.active)
return end_player_turn();
+ game.who = null;
game.moves = 0;
game.state = 'levy';
game.turn_log = [];