Lets bayonets butcher, fixes bayoneting typo

This commit is contained in:
QualityVan
2017-05-26 16:25:35 -04:00
parent eea0dc085a
commit a86f2fc252
2 changed files with 3 additions and 3 deletions
+3 -3
View File
@@ -295,14 +295,14 @@
/obj/item/weapon/gun/attack(mob/M as mob, mob/user)
if(user.a_intent == INTENT_HARM) //Flogging
if(bayonet)
bayonet.attack(M, user)
M.attackby(bayonet, user)
return
return ..()
/obj/item/weapon/gun/attack_obj(obj/O, mob/user)
if(user.a_intent == INTENT_HARM)
if(bayonet)
bayonet.attack_obj(O, user)
O.attackby(bayonet, user)
return
return ..()
@@ -332,7 +332,7 @@
if(!bayonet)
if(!user.transferItemToLoc(I, src))
return
to_chat(user, "<span class='notice'>You attach \the [K] to the front of ]the [src].</span>")
to_chat(user, "<span class='notice'>You attach \the [K] to the front of \the [src].</span>")
bayonet = K
update_icon()
else if(istype(I, /obj/item/weapon/screwdriver))