Skip to content

Commit

Permalink
fix: Unintentional night-shift despite disabled in configuration. (Pa…
Browse files Browse the repository at this point in the history
  • Loading branch information
warriorstar-orion authored Sep 10, 2024
1 parent a00a036 commit fbcdb23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/controllers/subsystem/SSticker.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fbcdb23

Please sign in to comment.