projects
/
vchess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
479e6df
)
Add TODO: timeover bug in corr games when taking back
author
Benjamin Auder
<benjamin.auder@somewhere>
Mon, 17 Feb 2020 07:17:52 +0000
(08:17 +0100)
committer
Benjamin Auder
<benjamin.auder@somewhere>
Mon, 17 Feb 2020 07:17:52 +0000
(08:17 +0100)
client/src/views/Game.vue
patch
|
blob
|
blame
|
history
diff --git
a/client/src/views/Game.vue
b/client/src/views/Game.vue
index
e221561
..
51fde64
100644
(file)
--- 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);
}