From b4c35687f058c019a4d2aa52ca8308628c987dad Mon Sep 17 00:00:00 2001 From: Casey Date: Thu, 22 Sep 2022 20:57:20 -0400 Subject: [PATCH 1/2] Merge pull request #13778 from Heroman3003/medichines-runtime 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 5e213781fa..1553d1337e 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((. = ..()))