From e5e53e4aa86f1daaf2845d2d832cd3a8b031391c Mon Sep 17 00:00:00 2001 From: Interception&? <137328283+intercepti0n@users.noreply.github.com> Date: Wed, 11 Oct 2023 11:40:08 +0300 Subject: [PATCH] update surgery_status field init --- code/modules/mob/living/carbon/carbon.dm | 2 +- code/modules/mob/living/carbon/carbon_defines.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/carbon.dm b/code/modules/mob/living/carbon/carbon.dm index 6f5814975a2..210eae02e54 100644 --- a/code/modules/mob/living/carbon/carbon.dm +++ b/code/modules/mob/living/carbon/carbon.dm @@ -14,7 +14,7 @@ /mob/living/carbon/Destroy() QDEL_NULL(touching) QDEL_NULL(bloodstr) - QDEL_NULL(op_stage) + QDEL_NULL(surgery_status) reagents = null //We assume reagents is a reference to bloodstr here diff --git a/code/modules/mob/living/carbon/carbon_defines.dm b/code/modules/mob/living/carbon/carbon_defines.dm index 67072f8e9fd..fa02fc1241a 100644 --- a/code/modules/mob/living/carbon/carbon_defines.dm +++ b/code/modules/mob/living/carbon/carbon_defines.dm @@ -8,7 +8,7 @@ var/life_tick = 0 // The amount of life ticks that have processed on this mob. var/obj/item/handcuffed = null //Whether or not the mob is handcuffed //Surgery info - var/datum/surgery_status/op_stage = new /datum/surgery_status + var/datum/surgery_status/surgery_status = new() var/analgesic = 0 // when this is set, the mob isn't affected by shock or pain //Active emote/pose var/pose = null