From ffa7ce406b3d833efc21c6910b9af9d602e5f198 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Sun, 11 Oct 2020 01:33:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=A8=A1=E5=BC=8Fhook?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E9=80=9A=E5=85=B3=E5=90=8ETICK=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E4=B8=A2=E5=A4=B1?= 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 a4b33be5..d383a28c 100644 --- a/parts/player.lua +++ b/parts/player.lua @@ -2681,7 +2681,7 @@ function player.die(P)--Called when win/lose,not really die! P.update=Pupdate_dead P.waiting=1e99 P.b2b=0 - for i=1,#P.tasks do rem(P.tasks)end + P.tasks={} for i=1,#P.atkBuffer do P.atkBuffer[i].sent=true P.atkBuffer[i].time=0