Ludicrous Speed QoL

pull/19/head
Ishaan Bhardwaj 2023-07-28 23:16:19 -04:00
parent affd5c6465
commit 828b888810
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ end
function LudicrousSpeed:advanceOneFrame() function LudicrousSpeed:advanceOneFrame()
if self.ready_frames == 0 then if self.ready_frames == 0 then
self.frames = self.frames + 1 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.time_limit = self.time_limit - 1
self.game_over = self.time_limit <= 0 self.game_over = self.time_limit <= 0
else self.time_limit = 300 end else self.time_limit = 300 end