Fixes xeno attacking nests instead of unbuckling. You now attack the nest on harm intent and unbuckle on all other intents.

This commit is contained in:
phil235
2016-10-16 20:12:51 +02:00
committed by phil235
parent ee14fbc4b8
commit a7a8b11eff
@@ -89,3 +89,8 @@
if(BURN)
playsound(loc, 'sound/items/Welder.ogg', 100, 1)
/obj/structure/bed/nest/attack_alien(mob/living/carbon/alien/user)
if(user.a_intent != "harm")
return attack_hand(user)
else
return ..()