From 684c4f5b78b5ad836bbd9a51257225db11e3b4a1 Mon Sep 17 00:00:00 2001 From: Ishaan Bhardwaj Date: Sun, 7 Mar 2021 15:18:13 -0500 Subject: [PATCH] Sakura stage time limit fix --- tetris/modes/sakura.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tetris/modes/sakura.lua b/tetris/modes/sakura.lua index a2f60a3..e6c62f0 100644 --- a/tetris/modes/sakura.lua +++ b/tetris/modes/sakura.lua @@ -367,7 +367,8 @@ function SakuraGame:advanceOneFrame(inputs, ruleset) end if not self.grid:hasGemBlocks() or - (self.stage_frames >= 3600 and self.current_map <= 20) then + (self.stage_frames >= 3600 and self.piece == nil + and self.current_map <= 20) then self.lcd = 0 self.are = 0 if self.stage_frames >= 3600 then self.time_extend = 0 end