projects
/
xogo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
After refactoring. Seems more or less ok
[xogo.git]
/
variants
/
Giveaway
/
class.js
diff --git
a/variants/Giveaway/class.js
b/variants/Giveaway/class.js
index
39f586c
..
3f27e5f
100644
(file)
--- a/
variants/Giveaway/class.js
+++ b/
variants/Giveaway/class.js
@@
-80,10
+80,10
@@
export default class GiveawayRules extends ChessRules {
super(o);
}
- underCheck(square, oppCol) {
+ underCheck(square
_s
, oppCol) {
if (this.options["mode"] == "suicide")
return false;
- return super.underCheck(square, oppCol);
+ return super.underCheck(square
_s
, oppCol);
}
getCurrentScore() {