Merge pull request #6426 from Heroman3003/rigruntime

Fixes rig gauntlets runtime
This commit is contained in:
Atermonera
2019-08-31 14:13:49 -08:00
committed by GitHub
@@ -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