From 9120b40e818bf2c49db58b0d58dc0a27df7c77a5 Mon Sep 17 00:00:00 2001 From: Chap Date: Mon, 21 Oct 2024 00:56:21 +0200 Subject: [PATCH] Beartrap triggers on people that aren't flying (#27147) Co-authored-by: adrermail@gmail.com --- code/game/objects/items/weapons/legcuffs.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/items/weapons/legcuffs.dm b/code/game/objects/items/weapons/legcuffs.dm index 593c5bdee7d4..c6ce59d40b29 100644 --- a/code/game/objects/items/weapons/legcuffs.dm +++ b/code/game/objects/items/weapons/legcuffs.dm @@ -102,7 +102,7 @@ return ..() var/mob/living/L = AM - if((iscarbon(AM) || isanimal(AM)) && HAS_TRAIT(L, TRAIT_FLYING)) + if((iscarbon(AM) || isanimal(AM)) && !HAS_TRAIT(L, TRAIT_FLYING)) spring_trap(AM) if(ishuman(AM))