From 54c5e469c4dca80845aff3a741bc9d001a92295e Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Mon, 2 Nov 2020 14:19:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9E=83=E5=9C=BE=E8=A1=8C=E5=B0=BD=E9=87=8F?= =?UTF-8?q?=E4=B8=8D=E5=87=BA=E5=9C=A8=E5=90=8C=E4=B8=80=E5=88=97=EF=BC=88?= =?UTF-8?q?=E4=B9=8B=E5=89=8D=E6=90=9E=E5=8F=8D=E4=BA=86=E5=8F=98=E6=88=90?= =?UTF-8?q?=E5=B0=BD=E9=87=8F=E5=90=8C=E4=B8=80=E5=88=97=E4=BA=86=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/player.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parts/player.lua b/parts/player.lua index b9cbded8..6575a3c9 100644 --- a/parts/player.lua +++ b/parts/player.lua @@ -1597,7 +1597,7 @@ function player.getHolePos(P) return P:RND(10) else local p=P:RND(10) - if P.field[1][p]>0 then + if P.field[1][p]<=0 then return P:RND(10) end return p