Compare commits

..

2 Commits

Author SHA1 Message Date
Ishaan Bhardwaj
828b888810 Ludicrous Speed QoL 2023-07-28 23:16:19 -04:00
Ishaan Bhardwaj
affd5c6465 Fix a logic issue in Combo Challenge 2023-07-28 22:40:23 -04:00
2 changed files with 7 additions and 4 deletions

View File

@ -78,10 +78,13 @@ function ComboChallenge:hold(inputs, ruleset, ihs)
table.insert(self.next_queue, self:getNextPiece(ruleset))
self.skips = self.skips - 1
if ihs then playSE("ihs")
else playSE("hold") end
self:onHold()
if ihs then
playSE("ihs")
else
playSE("hold")
self:onEnterOrHold(inputs, ruleset)
end
end
function ComboChallenge:advanceOneFrame()

View File

@ -62,7 +62,7 @@ end
function LudicrousSpeed:advanceOneFrame()
if self.ready_frames == 0 then
self.frames = self.frames + 1
if self:getPPS() < self.pps_limit then
if self.frames > 60 and self:getPPS() < self.pps_limit then
self.time_limit = self.time_limit - 1
self.game_over = self.time_limit <= 0
else self.time_limit = 300 end