mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-23 21:27:01 +01:00
Deal with clients or keys on qdel of /mob/observer/dead (#8191)
This commit is contained in:
@@ -554,6 +554,13 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
M.following_mobs -= src
|
||||
stop_following()
|
||||
observer_mob_list -= src
|
||||
//ChompEDIT START - deal with weird behavior on qdelled ghosts
|
||||
if(client) //qdelling a ghost with a client = make a new ghost i guess
|
||||
ghostize()
|
||||
if(key) //qdelling a ghost with a key = remove the key first to prevent logging into the GC queue
|
||||
key = null
|
||||
//ChompEDIT END
|
||||
|
||||
return ..()
|
||||
|
||||
/mob/Moved(atom/old_loc, direction, forced = FALSE)
|
||||
|
||||
Reference in New Issue
Block a user