Add TODO: timeover bug in corr games when taking back
authorBenjamin Auder <benjamin.auder@somewhere>
Mon, 17 Feb 2020 07:17:52 +0000 (08:17 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Mon, 17 Feb 2020 07:17:52 +0000 (08:17 +0100)
client/src/views/Game.vue

index e221561..51fde64 100644 (file)
@@ -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);
       }