Merge pull request #3782 from Citadel-Station-13/upstream-merge-32360

[MIRROR] fixes pie cannon bug
This commit is contained in:
LetterJay
2017-11-04 22:44:08 -05:00
committed by GitHub

View File

@@ -98,7 +98,7 @@
load_item(IW, user)
/obj/item/pneumatic_cannon/proc/can_load_item(obj/item/I, mob/user)
if(allowed_typecache && is_type_in_typecache(I, allowed_typecache))
if(allowed_typecache && !is_type_in_typecache(I, allowed_typecache))
if(user)
to_chat(user, "<span class='warning'>[I] won't fit into [src]!</span>")
return