fix: Unintentional night-shift despite disabled in configuration. (#26659)

This commit is contained in:
warriorstar-orion
2024-09-10 18:52:01 -04:00
committed by GitHub
parent a00a036841
commit fbcdb2375b
+2 -1
View File
@@ -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