Skip to content

Commit

Permalink
Proper fix for ghetto respawn bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
d3athrow committed Sep 24, 2024
1 parent 987bfe8 commit 6b314ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/mob/dead/observer/observer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,10 @@ Works together with spawning an observer, noted above.
visible.icon_state = "visible1"
else
visible.icon_state = "visible0"

/mob/proc/ghostize(var/flags = GHOST_CAN_REENTER,var/deafmute = 0)
if(key && !(copytext(key,1,2)=="@"))
log_admin("[key_name(src)] is now a[src.client.holder ? "n admin-" : " "]ghost.")
if((src && src.client && src.client.holder))
log_admin("[key_name(src)] is now a[src.client.holder ? "n admin-" : " "]ghost.")
var/ghostype = /mob/dead/observer
if (deafmute)
ghostype = /mob/dead/observer/deafmute
Expand Down

0 comments on commit 6b314ff

Please sign in to comment.