projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some more traces... (fix typo)
[vchess.git]
/
client
/
src
/
components
/
BaseGame.vue
diff --git
a/client/src/components/BaseGame.vue
b/client/src/components/BaseGame.vue
index
be58295
..
9878039
100644
(file)
--- a/
client/src/components/BaseGame.vue
+++ b/
client/src/components/BaseGame.vue
@@
-466,7
+466,7
@@
export default {
this.lastMove = smove;
// Condition is "!navigate" but we mean "!this.autoplay"
if (!navigate) {
this.lastMove = smove;
// Condition is "!navigate" but we mean "!this.autoplay"
if (!navigate) {
-
IF
(this.cursor < this.moves.length - 1)
+
if
(this.cursor < this.moves.length - 1)
this.moves = this.moves.slice(0, this.cursor + 1);
this.moves.push(smove);
}
this.moves = this.moves.slice(0, this.cursor + 1);
this.moves.push(smove);
}