Merge pull request #10013 from farie82/Paperplane-runtime

Fixes non humans being able to proc the paper folding
This commit is contained in:
variableundefined
2018-10-27 22:55:59 +08:00
committed by GitHub
+5 -4
View File
@@ -110,10 +110,11 @@
H.emote("scream")
/obj/item/paper/AltClick(mob/user, obj/item/I)
var/mob/living/carbon/human/H = user
I = H.is_in_hands(/obj/item/paper)
if(I)
ProcFoldPlane(H, I)
if(ishuman(user))
var/mob/living/carbon/human/H = user
I = H.is_in_hands(/obj/item/paper)
if(I)
ProcFoldPlane(H, I)
else
..()