projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Attempt to get rid of 'zombie Websocket' error
[vchess.git]
/
client
/
src
/
variants
/
Alice.js
diff --git
a/client/src/variants/Alice.js
b/client/src/variants/Alice.js
index
d30acf0
..
9eb0e87
100644
(file)
--- a/
client/src/variants/Alice.js
+++ b/
client/src/variants/Alice.js
@@
-263,10
+263,7
@@
export class AliceRules extends ChessRules {
}
getCurrentScore() {
- if (this.atLeastOneMove())
- // game not over
- return "*";
-
+ if (this.atLeastOneMove()) return "*";
const pieces = Object.keys(V.ALICE_CODES);
const color = this.turn;
const kp = this.kingPos[color];