diff --git a/README.md b/README.md index f71d5b5..e3d5c60 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,5 @@ ![Cambridge Banner](https://cdn.discordapp.com/attachments/764432435802013709/767724895076614154/cambridge_logo_lt.png) -Important notice -================ - -![Tetra Online Notice](https://pbs.twimg.com/media/Eo3CkIHW8AEoK_U?format=png&name=small) - Cambridge ========= diff --git a/tetris/modes/gamemode.lua b/tetris/modes/gamemode.lua index 1464736..46549bb 100644 --- a/tetris/modes/gamemode.lua +++ b/tetris/modes/gamemode.lua @@ -208,7 +208,9 @@ function GameMode:update(inputs, ruleset) if cleared_row_count > 0 then playSE("erase") self.lcd = self:getLineClearDelay() - self.are = self:getLineARE() + self.are = ( + ruleset.are and self:getLineARE() or 0 + ) if self.lcd == 0 then self.grid:clearClearedRows() if self.are == 0 then @@ -217,7 +219,7 @@ function GameMode:update(inputs, ruleset) end self:onLineClear(cleared_row_count) else - if self:getARE() == 0 then + if self:getARE() == 0 or not ruleset.are then self:initializeOrHold(inputs, ruleset) else self.are = self:getARE() diff --git a/tetris/rulesets/ruleset.lua b/tetris/rulesets/ruleset.lua index 3dc5cde..ff3a044 100644 --- a/tetris/rulesets/ruleset.lua +++ b/tetris/rulesets/ruleset.lua @@ -22,6 +22,7 @@ Ruleset.harddrop_lock = false Ruleset.enable_IRS_wallkicks = false Ruleset.are_cancel = false +Ruleset.are = true Ruleset.next_sounds = { I = "I",