projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Saving state - unstable
[vchess.git]
/
public
/
javascripts
/
base_rules.js
diff --git
a/public/javascripts/base_rules.js
b/public/javascripts/base_rules.js
index
5b0d5d1
..
d638067
100644
(file)
--- a/
public/javascripts/base_rules.js
+++ b/
public/javascripts/base_rules.js
@@
-1019,7
+1019,7
@@
class ChessRules
{
// Pawn move
let notation = "";
- if (move.vanish.length >
1
)
+ if (move.vanish.length >
move.appear.length
)
{
// Capture
let startColumn = String.fromCharCode(97 + move.start.y);