From 859daa5908ce238df15ff41eb087d27b9867f860 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Thu, 8 Oct 2020 18:13:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=B1=80=E5=89=8D=E6=8C=89=E9=94=AE?= =?UTF-8?q?=E6=AC=A1=E6=95=B0=E4=B9=9F=E4=BC=9A=E8=A2=AB=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/player.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/parts/player.lua b/parts/player.lua index 0317b396..b66556f6 100644 --- a/parts/player.lua +++ b/parts/player.lua @@ -1050,8 +1050,8 @@ local function pressKey(P,i) ins(P.keyTime,1,game.frame) P.keyTime[11]=nil end - P.stat.key=P.stat.key+1 end + P.stat.key=P.stat.key+1 end end local function releaseKey(P,i) @@ -1070,8 +1070,8 @@ local function pressKey_Rec(P,i) ins(P.keyTime,1,game.frame) P.keyTime[11]=nil end - P.stat.key=P.stat.key+1 end + P.stat.key=P.stat.key+1 end end local function releaseKey_Rec(P,i) @@ -1292,7 +1292,7 @@ local function loadAI(P,AIdata)--Load AI params next=AIdata.next, hold=AIdata.hold, - _20G=ENV._20G, + _20G=P._20G, bag=AIdata.bag, node=AIdata.node, }