projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cosmetics, mostly, and a few small bugs fixes
[vchess.git]
/
client
/
src
/
data
/
challengeCheck.js
diff --git
a/client/src/data/challengeCheck.js
b/client/src/data/challengeCheck.js
index
a535b88
..
fbfb445
100644
(file)
--- a/
client/src/data/challengeCheck.js
+++ b/
client/src/data/challengeCheck.js
@@
-16,7
+16,8
@@
export function checkChallenge(c) {
// Allow custom FEN (and check it) only for individual challenges
if (c.fen.length > 0 && !!c.to) {
if (!V.IsGoodFen(c.fen)) return "Errors in FEN";
- } else c.fen = "";
+ }
+ else c.fen = "";
return "";
}