X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FNewzealand.js;h=eb7d6251c42ea17718c457c8320cce860ed958ea;hp=d51eda11c0aa39c3e4db898aedb2d2bd621926da;hb=73968079dd92606c2e9f124a21c89f3c168a1122;hpb=afa7abae33f5d0999890f8d9672525337d0bfaea diff --git a/client/src/variants/Newzealand.js b/client/src/variants/Newzealand.js index d51eda11..eb7d6251 100644 --- a/client/src/variants/Newzealand.js +++ b/client/src/variants/Newzealand.js @@ -52,7 +52,7 @@ export class NewzealandRules extends ChessRules { ); } - isAttackedByROOK([x, y], color) { + isAttackedByRook([x, y], color) { return super.isAttackedBySlideNJump( [x, y], color,