Makes falsewalls leanable (#89680)

## About The Pull Request

Closes #89676
Also fixed an evil and bad runtime that prevented leaners from falling
when the atom is destroyed/moved

## Changelog
🆑
fix: You can now lean on falsewalls
/🆑
This commit is contained in:
SmArtKar
2025-03-12 16:47:57 -04:00
committed by Roxy
parent 89300f7c1a
commit b2fa7cc478
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -40,7 +40,7 @@
if(fall)
to_chat(leaner, span_danger("You lose balance!"))
leaner.Paralyze(0.5 SECONDS)
leaning_mobs = null
leaning_mobs.Cut()
/datum/component/leanable/proc/on_moved(datum/source)
SIGNAL_HANDLER
@@ -147,6 +147,10 @@
to_chat(user, span_notice("The outer plating is <b>welded</b> firmly in place."))
return null
/obj/structure/falsewall/mouse_drop_receive(mob/living/dropping, mob/user, params)
. = ..()
LoadComponent(/datum/component/leanable, dropping)
/*
* False R-Walls
*/