cryo runtime fix (#18089)

This commit is contained in:
SteelSlayer
2022-06-26 11:20:56 +01:00
committed by GitHub
parent 705578b23b
commit 29cd2a4795
+2 -1
View File
@@ -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)