mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Fixed cloning-related runtime error.
This commit is contained in:
@@ -444,7 +444,7 @@
|
||||
break
|
||||
if(!selected) //Search for a ghost if dead body with client isn't found.
|
||||
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
|
||||
break
|
||||
return selected
|
||||
|
||||
Reference in New Issue
Block a user