From 81a4429767e61fd38b576f68827d3266340437fe Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Sun, 10 Oct 2021 03:30:15 +0800 Subject: [PATCH] =?UTF-8?q?=E8=90=BD=E5=9D=97=E8=B6=85=E5=87=BA=E5=9C=BA?= =?UTF-8?q?=E5=9C=B0=E9=AB=98=E5=BA=A6=E5=90=8E=E6=AD=BB=E4=BA=A1=E4=B8=8D?= =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E8=B0=83=E7=94=A8lose?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/player/player.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/parts/player/player.lua b/parts/player/player.lua index 8c7dfea2..59fdf2ba 100644 --- a/parts/player/player.lua +++ b/parts/player/player.lua @@ -1601,7 +1601,7 @@ do--Player.drop(self)--Place piece --Check height limit if cc==0 and #self.field>ENV.heightLimit then - self:lose() + finish='lose' end --Update stat @@ -1627,11 +1627,11 @@ do--Player.drop(self)--Place piece end local n=C.name if dospin then - _=Stat.spin[n] _[cc+1]=_[cc+1]+1--Spin[1~25][0~4] + _=Stat.spin[n] _[cc+1]=_[cc+1]+1--Spin[1~25][0~4] _=Stat.spins _[cc+1]=_[cc+1]+1--Spin[0~4] elseif cc>0 then - _=Stat.clear[n] _[cc]=_[cc]+1--Clear[1~25][1~5] - _=Stat.clears _[cc]=_[cc]+1--Clear[1~5] + _=Stat.clear[n] _[cc]=_[cc]+1--Clear[1~25][1~5] + _=Stat.clears _[cc]=_[cc]+1--Clear[1~5] end if finish then