From 55e6fc8f18ec3c28bfaaa3457ccc99cc7830f054 Mon Sep 17 00:00:00 2001 From: Heroman Date: Thu, 22 Sep 2022 10:01:34 +1000 Subject: [PATCH] Fixes runtime with medichines deletion --- code/modules/nifsoft/software/05_health.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/nifsoft/software/05_health.dm b/code/modules/nifsoft/software/05_health.dm index 1e0c12c32ca..f19e6c58cd2 100644 --- a/code/modules/nifsoft/software/05_health.dm +++ b/code/modules/nifsoft/software/05_health.dm @@ -21,7 +21,8 @@ if((. = ..())) a_drain = initial(a_drain) mode = initial(mode) - nif.human.Stasis(0) + if(nif.human) // What if we deactivate because human is gone? + nif.human.Stasis(0) /datum/nifsoft/medichines_org/life() if((. = ..()))