Fixes gun rapid-melee attack exploit (#1276)
This commit is contained in:
committed by
kevinz000
parent
745437e0eb
commit
4bb2883638
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user