projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix Pocketknight computer play
[vchess.git]
/
client
/
src
/
variants
/
Football.js
diff --git
a/client/src/variants/Football.js
b/client/src/variants/Football.js
index
e7e6513
..
1ccb2a4
100644
(file)
--- a/
client/src/variants/Football.js
+++ b/
client/src/variants/Football.js
@@
-44,7
+44,7
@@
export class FootballRules extends ChessRules {
pieces[row[i] == lowerRi ? "b" : "w"]++;
sumElts++;
} else {
- const num = parseInt(row[i]);
+ const num = parseInt(row[i]
, 10
);
if (isNaN(num)) return false;
sumElts += num;
}