Skip to content

Commit

Permalink
forgor some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
XeonMations committed Dec 24, 2024
1 parent ed4f733 commit 477bb2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions code/datums/components/leanable.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down Expand Up @@ -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)

Expand Down
1 change: 0 additions & 1 deletion code/modules/mob/living/living.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 477bb2e

Please sign in to comment.