Merge pull request #14462 from Kyep/no_observe_before_startup

Prevent observe before server is finished starting
This commit is contained in:
AffectedArc07
2020-09-27 12:42:33 +01:00
committed by GitHub
2 changed files with 20 additions and 10 deletions
+2
View File
@@ -65,6 +65,8 @@ SUBSYSTEM_DEF(ticker)
to_chat(world, "Please, setup your character and select ready. Game will start in [config.pregame_timestart] seconds")
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(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