projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Omega castling and pieces randomization, fix a bug when undoing partial multi...
[vchess.git]
/
client
/
src
/
components
/
BaseGame.vue
diff --git
a/client/src/components/BaseGame.vue
b/client/src/components/BaseGame.vue
index
fd26d87
..
5ab02fa
100644
(file)
--- a/
client/src/components/BaseGame.vue
+++ b/
client/src/components/BaseGame.vue
@@
-533,6
+533,8
@@
export default {
for (let i=move.length -1; i >= 0; i--) this.vr.undo(move[i]);
this.moves.pop();
this.cursor--;
for (let i=move.length -1; i >= 0; i--) this.vr.undo(move[i]);
this.moves.pop();
this.cursor--;
+ // The board may still show the possible moves: (TODO: bad solution)
+ this.$refs["board"].resetCurrentAttempt();
this.inMultimove = false;
},
cancelLastMove: function() {
this.inMultimove = false;
},
cancelLastMove: function() {