From 477bb2e3072097aba7393e4836ca150dc96f4a7d Mon Sep 17 00:00:00 2001 From: XeonMations Date: Tue, 24 Dec 2024 04:45:25 +0200 Subject: [PATCH] forgor some stuff --- code/datums/components/leanable.dm | 2 ++ code/modules/mob/living/living.dm | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/code/datums/components/leanable.dm b/code/datums/components/leanable.dm index fd13dda756451..174678bc3777d 100644 --- a/code/datums/components/leanable.dm +++ b/code/datums/components/leanable.dm @@ -84,6 +84,7 @@ COMSIG_MOB_CLIENT_MOVED, COMSIG_HUMAN_DISARM_HIT, COMSIG_MOVABLE_PULLED, + SIGNAL_ADDTRAIT(TRAIT_FLOORED), ), PROC_REF(stop_leaning)) RegisterSignal(src, COMSIG_ATOM_TELEPORT_ACT, PROC_REF(teleport_away_while_leaning)) @@ -115,6 +116,7 @@ COMSIG_HUMAN_DISARM_HIT, COMSIG_MOVABLE_PULLED, COMSIG_ATOM_TELEPORT_ACT, + SIGNAL_ADDTRAIT(TRAIT_FLOORED), )) UnregisterSignal(leaned_object, COMSIG_AIRLOCK_OPEN) diff --git a/code/modules/mob/living/living.dm b/code/modules/mob/living/living.dm index 292611c7383bc..512c623810199 100644 --- a/code/modules/mob/living/living.dm +++ b/code/modules/mob/living/living.dm @@ -585,7 +585,6 @@ ADD_TRAIT(src, TRAIT_UI_BLOCKED, LYING_DOWN_TRAIT) ADD_TRAIT(src, TRAIT_PULL_BLOCKED, LYING_DOWN_TRAIT) ADD_TRAIT(src, TRAIT_UNDENSE, LYING_DOWN_TRAIT) - density = FALSE // We lose density and stop bumping passable dense things. if(HAS_TRAIT(src, TRAIT_FLOORED) && !(dir & (NORTH|SOUTH))) setDir(pick(NORTH, SOUTH)) // We are and look helpless.