projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rename getOppCol into static GetOppCol + start thinking about problems page
[vchess.git]
/
public
/
javascripts
/
variants
/
Losers.js
diff --git
a/public/javascripts/variants/Losers.js
b/public/javascripts/variants/Losers.js
index
c9509c6
..
9af6776
100644
(file)
--- a/
public/javascripts/variants/Losers.js
+++ b/
public/javascripts/variants/Losers.js
@@
-42,7
+42,7
@@
class LosersRules extends ChessRules
atLeastOneCapture()
{
const color = this.turn;
- const oppCol =
this.g
etOppCol(color);
+ const oppCol =
V.G
etOppCol(color);
for (let i=0; i<V.size.x; i++)
{
for (let j=0; j<V.size.y; j++)