Skip to content

Commit

Permalink
Fix runtime when ghosting in tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
Drulikar committed Feb 14, 2024
1 parent 01c340c commit c38afe3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion code/modules/mob/dead/observer/observer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,10 @@
hud_used.show_hud(hud_used.hud_version)

/mob/dead/observer/Login()
..()
..() // This calls signals which might have resulted in our client getting deleted

if(!client)
return

if(client.check_whitelist_status(WHITELIST_PREDATOR))
RegisterSignal(SSdcs, COMSIG_GLOB_PREDATOR_ROUND_TOGGLED, PROC_REF(toggle_predator_action))
Expand Down

0 comments on commit c38afe3

Please sign in to comment.