From be0ee84aeba0978da1f63e2fd88fefdf898ce542 Mon Sep 17 00:00:00 2001 From: Nicaragua Date: Tue, 12 Feb 2019 01:32:17 -0300 Subject: [PATCH] hopefuly no one controls this thing but just in case --- code/modules/mob/living/simple_animal/bot/griefsky.dm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code/modules/mob/living/simple_animal/bot/griefsky.dm b/code/modules/mob/living/simple_animal/bot/griefsky.dm index 9f0284359a6..726d803efb2 100644 --- a/code/modules/mob/living/simple_animal/bot/griefsky.dm +++ b/code/modules/mob/living/simple_animal/bot/griefsky.dm @@ -60,6 +60,13 @@ QDEL_NULL(weapon) return ..() +/mob/living/simple_animal/bot/secbot/griefsky/UnarmedAttack(atom/A) //hopefuly no one controls this thing + if(!on) + return + if(iscarbon(A)) + var/mob/living/carbon/C = A + sword_attack(C) + /mob/living/simple_animal/bot/secbot/griefsky/bullet_act(obj/item/projectile/P) //so uncivilized retaliate(P.firer) if((icon_state == spin_icon) && (prob(block_chance_ranged))) //only when the eswords are on