projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Synchrone2: almost OK (issues with undoing pass moves)
[vchess.git]
/
client
/
src
/
variants
/
Castle.js
diff --git
a/client/src/variants/Castle.js
b/client/src/variants/Castle.js
index
e6b0470
..
cf44ba5
100644
(file)
--- a/
client/src/variants/Castle.js
+++ b/
client/src/variants/Castle.js
@@
-1,6
+1,7
@@
import { ChessRules } from "@/base_rules";
export class CastleRules extends ChessRules {
+
getCurrentScore() {
const baseScore = super.getCurrentScore();
if (baseScore != '*') return baseScore;
@@
-11,4
+12,5
@@
export class CastleRules extends ChessRules {
}
return '*';
}
+
};