Skip to content

Commit

Permalink
Update storyteller.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
dwasint committed Feb 7, 2025
1 parent 1cddde6 commit bdf17d7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion code/controllers/subsystem/storyteller.dm
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,16 @@ SUBSYSTEM_DEF(gamemode)
var/roundvoteend = FALSE
var/reb_end_time = 0

var/disabled = FALSE

/datum/controller/subsystem/gamemode/Initialize(time, zlevel)
#if defined(UNIT_TESTS) || defined(AUTOWIKI) // lazy way of doing this but idc
CONFIG_SET(flag/disable_storyteller, TRUE)
disabled = TRUE
#endif
if(disabled)
flags |= SS_NO_FIRE
return ..()

// Populate event pools
for(var/track in event_tracks)
event_pools[track] = list()
Expand Down

0 comments on commit bdf17d7

Please sign in to comment.