mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-17 13:43:21 +00:00
Fixed cloning-related runtime error.
This commit is contained in:
@@ -444,7 +444,7 @@
|
|||||||
break
|
break
|
||||||
if(!selected) //Search for a ghost if dead body with client isn't found.
|
if(!selected) //Search for a ghost if dead body with client isn't found.
|
||||||
for(var/mob/dead/observer/ghost in world)
|
for(var/mob/dead/observer/ghost in world)
|
||||||
if (ghost.corpse.mind.key == find_key)
|
if (ghost.corpse && ghost.corpse.mind.key == find_key)
|
||||||
selected = ghost
|
selected = ghost
|
||||||
break
|
break
|
||||||
return selected
|
return selected
|
||||||
|
|||||||
Reference in New Issue
Block a user