From d9748870cf9466bb572fe50f25f2a195caf26f9b Mon Sep 17 00:00:00 2001 From: Superlagg Date: Thu, 13 Jul 2023 21:22:41 -0700 Subject: [PATCH] makes the progbar ss not jitter so fuckin much --- code/controllers/subsystem/progress_bars.dm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/controllers/subsystem/progress_bars.dm b/code/controllers/subsystem/progress_bars.dm index 0f605d8efc2..0422c2f567d 100644 --- a/code/controllers/subsystem/progress_bars.dm +++ b/code/controllers/subsystem/progress_bars.dm @@ -1,5 +1,5 @@ PROCESSING_SUBSYSTEM_DEF(progress_bars) - name = "Progress Bars" + name = "ProgBars" // jitter jitter jitter flags = SS_NO_INIT wait = 0.2 SECONDS @@ -16,6 +16,8 @@ PROCESSING_SUBSYSTEM_DEF(progress_bars) /// format: list(ckey = list("bar_id")) var/list/ckey_proglist = list() + var/debug_make_visible_to_everyone = FALSE + /datum/controller/subsystem/processing/progress_bars/proc/add_bar(atom/owner, list/can_see = list(), duration = 5 SECONDS, automatic = TRUE, auto_remove = TRUE) if(duration <= 0) // imma divide your zero uwu return FALSE // gotta do it safely tho @@ -166,7 +168,7 @@ PROCESSING_SUBSYSTEM_DEF(progress_bars) RegisterSignal(location, COMSIG_PARENT_QDELETING, .proc/master_deleted) /datum/progressbar/proc/register_visibility(list/can_see) - if(!LAZYLEN(can_see)) + if(!LAZYLEN(can_see) || SSprogress_bars.debug_make_visible_to_everyone) // heh for(var/ckey in GLOB.directory) visible_to |= ckey return