From fbcdb2375b0eac7fe69994f2e87e517bb9b7168d Mon Sep 17 00:00:00 2001 From: warriorstar-orion Date: Tue, 10 Sep 2024 18:52:01 -0400 Subject: [PATCH] fix: Unintentional night-shift despite disabled in configuration. (#26659) --- 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 ddf2ed88db9..d1a2347f5ff 100644 --- a/code/controllers/subsystem/SSticker.dm +++ b/code/controllers/subsystem/SSticker.dm @@ -350,7 +350,8 @@ SUBSYSTEM_DEF(ticker) if(N.client) N.new_player_panel_proc() - SSnightshift.check_nightshift(TRUE) + if(GLOB.configuration.general.enable_night_shifts) + SSnightshift.check_nightshift(TRUE) #ifdef UNIT_TESTS // Run map tests first in case unit tests futz with map state