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

Commit f0d6cd3

Browse files
oops
1 parent 7b0d347 commit f0d6cd3

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

code/datums/components/rot.dm

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,8 @@
5454
return
5555

5656
// Wait a bit before decaying
57-
if(!C.reagents.has_reagent(/datum/reagent/gas/healium))
58-
if(world.time - C.timeofdeath < 2 MINUTES)
59-
return
57+
if(world.time - C.timeofdeath < 2 MINUTES)
58+
return
6059

6160
// Properly stored corpses shouldn't create miasma
6261
if(istype(C.loc, /obj/structure/closet/crate/coffin)|| istype(C.loc, /obj/structure/closet/body_bag) || istype(C.loc, /obj/structure/bodycontainer))
@@ -70,6 +69,10 @@
7069
if(C.bodytemperature <= T0C-10 || (!(C.mob_biotypes & (MOB_ORGANIC & MOB_UNDEAD))))
7170
return
7271

72+
// Healium prevents body from rotting
73+
if(C.reagents.has_reagent(/datum/reagent/gas/healium))
74+
return
75+
7376
..()
7477

7578
/datum/component/rot/gibs

0 commit comments

Comments
 (0)