From f49c1b5d36df9603a0b24f38dd53c100c0fdf6e8 Mon Sep 17 00:00:00 2001 From: Kirby703 <14858059+Kirby703@users.noreply.github.com> Date: Mon, 28 Aug 2023 01:29:30 -0400 Subject: [PATCH] 2s rule off-by-one --- tetris/modes/phantom_mania_nx.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tetris/modes/phantom_mania_nx.lua b/tetris/modes/phantom_mania_nx.lua index 44da90a..2e78925 100644 --- a/tetris/modes/phantom_mania_nx.lua +++ b/tetris/modes/phantom_mania_nx.lua @@ -232,7 +232,7 @@ function PhantomManiaNXGame:updateSectionTimes(old_level, new_level) local old_section = math.floor(old_level / 100) table.insert(self.secondary_section_times, section_time) if section_time <= cool_cutoffs[old_section] and ( - section_time < (self.secondary_section_times[old_section] + 120) or + section_time <= (self.secondary_section_times[old_section] + 120) or old_section == 0 ) then self.last_section_cool = true