From 489c21563805c7cd7ffbaf6e184d0b6a71f1a562 Mon Sep 17 00:00:00 2001 From: Ishaan Bhardwaj Date: Wed, 3 Feb 2021 22:56:01 -0500 Subject: [PATCH] Interval Training fixes (read comments) Fixed a rare crash that occurs by not setting the time limit Made the mode play forever --- tetris/modes/interval_training.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/tetris/modes/interval_training.lua b/tetris/modes/interval_training.lua index 786a8da..f8ad8fa 100644 --- a/tetris/modes/interval_training.lua +++ b/tetris/modes/interval_training.lua @@ -21,6 +21,7 @@ function IntervalTrainingGame:new() self.combo = 1 self.randomizer = History6RollsRandomizer() + self.section_time_limit = 0 self.section_start_time = 0 self.section_times = { [0] = 0 } self.lock_drop = true