projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix capture-in-check bug for Capture and Losers variants
[vchess.git]
/
client
/
src
/
variants
/
Horde.js
diff --git
a/client/src/variants/Horde.js
b/client/src/variants/Horde.js
index
aac4d27
..
c436811
100644
(file)
--- a/
client/src/variants/Horde.js
+++ b/
client/src/variants/Horde.js
@@
-24,7
+24,7
@@
export class HordeRules extends ChessRules {
}
sumElts++;
} else {
- const num = parseInt(row[i]);
+ const num = parseInt(row[i]
, 10
);
if (isNaN(num)) return false;
sumElts += num;
}