mirror of
https://github.com/SashLilac/cambridge-modpack.git
synced 2024-11-23 20:19:02 -06:00
Ludicrous Speed QoL
This commit is contained in:
parent
affd5c6465
commit
828b888810
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user