summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-04-29 20:46:50 +0200
committerTor Andersson <tor@ccxvii.net>2024-04-29 20:46:50 +0200
commit1e18b42d0b374a469f324f81a8b8b281a5e5df8d (patch)
tree7f2fad02c2f57fd717a42f4d64d9d2dccf6fd61f
parenta8be7858609a0a5651869c4c9c8a24f9f4e7d6f9 (diff)
downloadplantagenet-1e18b42d0b374a469f324f81a8b8b281a5e5df8d.tar.gz
clear game.who after assigning hits
-rw-r--r--rules.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.ts b/rules.ts
index 2126844..595dc35 100644
--- a/rules.ts
+++ b/rules.ts
@@ -7264,9 +7264,11 @@ states.assign_hits = {
},
regroup() {
push_undo()
+ game.who = NOBODY
goto_regroup()
},
done() {
+ game.who = NOBODY
if (game.active === game.battle.attacker)
end_attacker_assign_hits()
else