projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix moves update
[vchess.git]
/
client
/
src
/
views
/
Game.vue
diff --git
a/client/src/views/Game.vue
b/client/src/views/Game.vue
index
b66c6ef
..
114b86b
100644
(file)
--- a/
client/src/views/Game.vue
+++ b/
client/src/views/Game.vue
@@
-452,7
+452,7
@@
export default {
squares: filtered_move,
message: this.corrMsg, //TODO
played: Date.now(), //TODO: on server?
- idx: this.game.moves.length
- 1
,
+ idx: this.game.moves.length,
color: move.color,
},
clocks: this.game.clocks.map((t,i) => i==colorIdx