Skip to content

Commit

Permalink
Update coffin.dm
Browse files Browse the repository at this point in the history
I am tired.
  • Loading branch information
Mycah142 committed Nov 1, 2023
1 parent 5b6660e commit bf65518
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

/obj/structure/closet/coffin/proc/pyre()
new /obj/effect/decal/cleanable/ash(loc)
if(occupant %% occupant.is_dead())
if(occupant && occupant.is_dead())
var/mob/N = key2mob(occupant.mind.key)
to_chat(N, SPAN_NOTICE("Your remains have been reduced to ash. Your crew respawn time has been reduced by [(COFFIN_RESPAWN_BONUS)/600] minutes."))
N << 'sound/effects/magic/blind.ogg'
Expand Down

0 comments on commit bf65518

Please sign in to comment.