Late Join Ghost Role Things (#8466)

This commit is contained in:
Geeves
2020-03-26 22:18:30 +02:00
committed by GitHub
parent 48a6b58aaf
commit ebadb532ad
7 changed files with 42 additions and 3 deletions

View File

@@ -137,6 +137,9 @@
if(cant_spawn)
to_chat(usr, "Unable to spawn: [cant_spawn]")
return
if(isnewplayer(usr))
var/mob/abstract/new_player/N = usr
N.close_spawn_windows()
if(!S.pre_spawn(usr))
to_chat(usr, "Unable to spawn: pre_spawn failed. Report this on GitHub")
return