summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-05-25 19:32:33 +0200
committerTor Andersson <tor@ccxvii.net>2024-05-30 21:59:25 +0200
commit2d03154db7fa2e25b7188c0599d1807ae345cd2e (patch)
tree295496184353d76445a1e2cd15ab61a6fa841ab4 /play.js
parentfd3f5c5ae56793b7a9ded795720864e2ecbbba9b (diff)
downloadfriedrich-2d03154db7fa2e25b7188c0599d1807ae345cd2e.tar.gz
confirm ending movement with unmoved pieces
Diffstat (limited to 'play.js')
-rw-r--r--play.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/play.js b/play.js
index 51a2b73..6da09b2 100644
--- a/play.js
+++ b/play.js
@@ -902,6 +902,9 @@ function on_update() {
action_button("end_supply", "End supply")
action_button("end_turn", "End turn")
+ confirm_action_button("confirm_end_movement", "End movement",
+ "You still have UNMOVED pieces.?")
+
action_button("undo", "Undo")
process_actions()