From 4846a617b920e686439cef8b17f1725da214844d Mon Sep 17 00:00:00 2001 From: oc Date: Sun, 23 Dec 2018 23:57:58 +0800 Subject: [PATCH] Fix snipe --- libs/control.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/control.js b/libs/control.js index 22525912..b9ddcbf0 100644 --- a/libs/control.js +++ b/libs/control.js @@ -1240,7 +1240,7 @@ control.prototype.checkBlock = function () { var x=t.x, y=t.y, direction = t.direction; var nx = x+core.utils.scan[direction].x, ny=y+core.utils.scan[direction].y; - return nx>=0 && nx=0 && ny=0 && nx=0 && ny0)