makes you harm mining bots with welders on anything but help

This commit is contained in:
joep van der velden
2018-11-11 10:55:32 +01:00
parent 8820eb799c
commit 4150d645c9

View File

@@ -73,7 +73,7 @@
check_friendly_fire = 0
/mob/living/simple_animal/hostile/mining_drone/attackby(obj/item/I, mob/user, params)
if(istype(I, /obj/item/weldingtool))
if(istype(I, /obj/item/weldingtool) && user.a_intent == INTENT_HELP)
var/obj/item/weldingtool/W = I
if(W.welding && !stat)
if(AIStatus != AI_OFF && AIStatus != AI_IDLE)