Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 5dd3cd0

Browse files
whoops
1 parent e3960d2 commit 5dd3cd0

File tree

1 file changed

+4
-4
lines changed
  • code/modules/atmospherics/machinery/components/unary_devices

1 file changed

+4
-4
lines changed

code/modules/atmospherics/machinery/components/unary_devices/cryo.dm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -321,10 +321,10 @@
321321
gas_reagent.reaction_mob(mob_occupant, VAPOR|BREATH, 2, permeability = 1)
322322
air1.adjust_moles(gas_id, -0.1 / efficiency)
323323
qdel(gas_reagent)
324-
if(ishuman(occupant) && stat == DEAD && occupant.reagents.has_reagent(/datum/reagent/gas/healium)) // attempts to cycle healium in the body to a reviable state
325-
var/mob/living/carbon/human/H = occupant
326-
if(!H.can_defib(FALSE))
327-
H.reagents.del_reagent(/datum/reagent/gas/healium)
324+
if(C && stat == DEAD && C.reagents.has_reagent(/datum/reagent/gas/healium)) // attempts to cycle healium in the body to a reviable state
325+
if(!C.can_defib(FALSE))
326+
to_chat(src, "HELLO")
327+
C.reagents.del_reagent(/datum/reagent/gas/healium)
328328

329329
return TRUE
330330

0 commit comments

Comments
 (0)