From 9575d61836fc4dbf1f11551ddea48502f17ef75c Mon Sep 17 00:00:00 2001 From: Krausus Date: Thu, 14 May 2015 06:49:05 -0400 Subject: [PATCH] Fixes hand removal runtime Unlike feet, removed hands wouldn't check to make sure they had an owner before trying to remove the thing they were wearing on them. --- code/modules/organs/organ_external.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/organs/organ_external.dm b/code/modules/organs/organ_external.dm index 1dcedb8f8c0..f5def416ee7 100644 --- a/code/modules/organs/organ_external.dm +++ b/code/modules/organs/organ_external.dm @@ -984,7 +984,7 @@ Note that amputating the affected organ does in fact remove the infection from t can_grasp = 1 /obj/item/organ/external/hand/removed() - owner.unEquip(owner.gloves) + if(owner) owner.unEquip(owner.gloves) ..() /obj/item/organ/external/hand/right