From b4aea19ce1ebc3333c194803b64f57e319a6704a Mon Sep 17 00:00:00 2001 From: GDN <96800819+GDNgit@users.noreply.github.com> Date: Wed, 8 Nov 2023 12:35:27 -0600 Subject: [PATCH] makes ssticker fire faster (#22801) * makes ssticker fire faster * Update code/controllers/subsystem/SSticker.dm --- code/controllers/subsystem/SSticker.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/controllers/subsystem/SSticker.dm b/code/controllers/subsystem/SSticker.dm index 97841998cda..55fa36fac95 100644 --- a/code/controllers/subsystem/SSticker.dm +++ b/code/controllers/subsystem/SSticker.dm @@ -7,6 +7,7 @@ SUBSYSTEM_DEF(ticker) runlevels = RUNLEVEL_LOBBY | RUNLEVEL_SETUP | RUNLEVEL_GAME offline_implications = "The game is no longer aware of when the round ends. Immediate server restart recommended." cpu_display = SS_CPUDISPLAY_LOW + wait = 1 SECONDS /// Time the game should start, relative to world.time var/round_start_time = 0 @@ -98,7 +99,7 @@ SUBSYSTEM_DEF(ticker) if(!delay_end) pregame_timeleft = max(0, round_start_time - world.time) // Normal lobby countdown when roundstart was not delayed else - pregame_timeleft = max(0, pregame_timeleft - 20) // If roundstart was delayed, we should resume the countdown where it left off + pregame_timeleft = max(0, pregame_timeleft - wait) // If roundstart was delayed, we should resume the countdown where it left off if(pregame_timeleft <= 600 && !tipped) // 60 seconds send_tip_of_the_round()