From 2d4ec1779f50f6a479276edc9297b4323e0d42bb Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Mon, 17 Feb 2020 08:17:52 +0100 Subject: [PATCH] Add TODO: timeover bug in corr games when taking back --- client/src/views/Game.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index e2215619..51fde64d 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -561,6 +561,9 @@ export default { processMove: function(move) { if (this.game.type == "corr" && move.color == this.game.mycolor) { + +//TODO: if takeback, then time over occurs. + if (!confirm(this.st.tr["Move played:"] + " " + move.notation + "\n" + this.st.tr["Are you sure?"])) return this.$set(this.game, "moveToUndo", move); } -- 2.44.0