From 29cd2a4795658688a414bb14377c2e71e9a72208 Mon Sep 17 00:00:00 2001 From: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com> Date: Sun, 26 Jun 2022 05:20:56 -0500 Subject: [PATCH] cryo runtime fix (#18089) --- code/game/machinery/cryopod.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/game/machinery/cryopod.dm b/code/game/machinery/cryopod.dm index 8ea270c4a4e..e1e801666e4 100644 --- a/code/game/machinery/cryopod.dm +++ b/code/game/machinery/cryopod.dm @@ -370,6 +370,8 @@ if(O.target != occupant.mind) continue O.on_target_cryo() + occupant.mind.remove_all_antag_datums() + if(occupant.mind && occupant.mind.assigned_role) //Handle job slot/tater cleanup. var/job = occupant.mind.assigned_role @@ -435,7 +437,6 @@ else occupant.ghostize(TRUE) - occupant.mind.remove_all_antag_datums() QDEL_NULL(occupant) name = initial(name)