Fix: avoid sleeping SSTicker (#17329)

This commit is contained in:
Aziz Chynaliev
2022-01-16 09:06:48 +01:00
committed by GitHub
parent 25de275285
commit f93011918b
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -87,7 +87,8 @@ SUBSYSTEM_DEF(ticker)
current_state = GAME_STATE_PREGAME
fire() // TG says this is a good idea
for(var/mob/new_player/N in GLOB.player_list)
N.new_player_panel_proc() // to enable the observe option
if (N.client)
N.new_player_panel_proc() // to enable the observe option
if(GAME_STATE_PREGAME)
if(!SSticker.ticker_going) // This has to be referenced like this, and I dont know why. If you dont put SSticker. it will break
return