From c3bd8e92a300ae7d3d9f7f476cc010095725f620 Mon Sep 17 00:00:00 2001 From: Heroman Date: Tue, 27 Aug 2019 15:57:35 +1000 Subject: [PATCH] Fixes rig gauntlets runtime --- code/modules/clothing/gloves/gauntlets.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/modules/clothing/gloves/gauntlets.dm b/code/modules/clothing/gloves/gauntlets.dm index b65884d3f9..8807fb93ad 100644 --- a/code/modules/clothing/gloves/gauntlets.dm +++ b/code/modules/clothing/gloves/gauntlets.dm @@ -18,6 +18,10 @@ var/mob/living/carbon/human/H = user if(H.gloves) gloves = H.gloves + if(!istype(gloves)) + to_chat(user, "You are unable to wear \the [src] as \the [H.gloves] are in the way.") + gloves = null + return 0 if(gloves.overgloves) to_chat(user, "You are unable to wear \the [src] as \the [H.gloves] are in the way.") gloves = null