From a7a8b11effa491da1940cb3607913d27ba9ecb34 Mon Sep 17 00:00:00 2001 From: phil235 Date: Sun, 16 Oct 2016 20:12:51 +0200 Subject: [PATCH] Fixes xeno attacking nests instead of unbuckling. You now attack the nest on harm intent and unbuckle on all other intents. --- code/game/objects/structures/beds_chairs/alien_nest.dm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/game/objects/structures/beds_chairs/alien_nest.dm b/code/game/objects/structures/beds_chairs/alien_nest.dm index 351ab2e2539..786d0af9b88 100644 --- a/code/game/objects/structures/beds_chairs/alien_nest.dm +++ b/code/game/objects/structures/beds_chairs/alien_nest.dm @@ -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 ..() \ No newline at end of file