diff --git a/code/game/machinery/cryopod.dm b/code/game/machinery/cryopod.dm index 4e38b4c63a88..5de9280cc0a4 100644 --- a/code/game/machinery/cryopod.dm +++ b/code/game/machinery/cryopod.dm @@ -379,7 +379,8 @@ GLOBAL_VAR_INIT(cryopods_enabled, FALSE) qdel(R.mmi) var/mob/dead/observer/ghost = mob_occupant.ghostize(FALSE) - ghost.mind = null + if(ghost) + ghost.mind = null handle_objectives() QDEL_NULL(occupant) for(var/obj/item/I in get_turf(src))