projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
TODO: finish draw offer logic + fix inCheck bug (no highlight)
[vchess.git]
/
client
/
src
/
utils
/
gameStorage.js
diff --git
a/client/src/utils/gameStorage.js
b/client/src/utils/gameStorage.js
index
7fadbed
..
bf5dfba
100644
(file)
--- a/
client/src/utils/gameStorage.js
+++ b/
client/src/utils/gameStorage.js
@@
-81,8
+81,9
@@
export const GameStorage =
gid: gameId,
newObj:
{
+ // Some fields may be undefined:
chat: obj.chat,
- move: obj.move,
//may be undefined...
+ move: obj.move,
fen: obj.fen,
score: obj.score,
scoreMsg: obj.scoreMsg,