From 893cb616be38da3a1dd5a49d2c33fe98aaa1474e Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sat, 22 Jan 2022 23:20:57 +0100 Subject: [PATCH] [MIRROR] Fix: timers not removing from second queue on init [MDB IGNORE] (#10902) * Fix: timers not removing from second queue on init (#64138) Fixes #56292 Why It's Good For The Game Increases chances of smooth experience Changelog cl Semoro fix: timers not removing from second queue on init /cl * Fix: timers not removing from second queue on init Co-authored-by: Aziz Chynaliev --- code/controllers/subsystem/timer.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controllers/subsystem/timer.dm b/code/controllers/subsystem/timer.dm index 81ddc55aead..3176a22a330 100644 --- a/code/controllers/subsystem/timer.dm +++ b/code/controllers/subsystem/timer.dm @@ -466,7 +466,7 @@ SUBSYSTEM_DEF(timer) if(buckethead == src) bucket_list[bucket_pos] = next timer_subsystem.bucket_count-- - else if(timeToRun < TIMER_MAX(timer_subsystem)) + else if(bucket_joined) timer_subsystem.bucket_count-- else var/l = length(second_queue)