Fixes gun rapid-melee attack exploit (#1276)

This commit is contained in:
CitadelStationBot
2017-05-29 01:27:52 -05:00
committed by kevinz000
parent 745437e0eb
commit 4bb2883638

View File

@@ -297,7 +297,9 @@
if(bayonet)
M.attackby(bayonet, user)
return
return ..()
else
return ..()
return
/obj/item/weapon/gun/attack_obj(obj/O, mob/user)
if(user.a_intent == INTENT_HARM)