projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Factor some lines (raw loading pug files)
[vchess.git]
/
client
/
src
/
variants
/
Antiking2.js
diff --git
a/client/src/variants/Antiking2.js
b/client/src/variants/Antiking2.js
index
a7ec2a8
..
762ca5c
100644
(file)
--- a/
client/src/variants/Antiking2.js
+++ b/
client/src/variants/Antiking2.js
@@
-43,7
+43,7
@@
export class Antiking2Rules extends ChessRules {
this.antikingPos["w"] = [i, k];
break;
default: {
- const num = parseInt(rows[i].charAt(j));
+ const num = parseInt(rows[i].charAt(j)
, 10
);
if (!isNaN(num)) k += num - 1;
}
}