From a9fc3f211dc91c0775b6a3e3f6d99faf3675810b Mon Sep 17 00:00:00 2001 From: Ishaan Bhardwaj Date: Sun, 31 Jan 2021 17:15:16 -0500 Subject: [PATCH] Updated locking mechanism for Joker --- tetris/modes/joker.lua | 2 ++ tetris/modes/scoreattack_o.lua | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tetris/modes/joker.lua b/tetris/modes/joker.lua index 335c932..ad0b85b 100644 --- a/tetris/modes/joker.lua +++ b/tetris/modes/joker.lua @@ -25,6 +25,8 @@ function JokerGame:new() self.lock_drop = true self.lock_hard_drop = true self.enable_hold = false + self.instant_soft_drop = false + self.instant_hard_drop = true self.next_queue_length = 6 end diff --git a/tetris/modes/scoreattack_o.lua b/tetris/modes/scoreattack_o.lua index 0945dc6..d148248 100644 --- a/tetris/modes/scoreattack_o.lua +++ b/tetris/modes/scoreattack_o.lua @@ -28,7 +28,9 @@ function ArcadeScoreAttack:new() self.lock_drop = true self.lock_hard_drop = true self.enable_hard_drop = true - self.enable_hold = true + self.enable_hold = true + self.instant_soft_drop = false + self.instant_hard_drop = true self.next_queue_length = 5 end