mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
fixes elevation being permanent if you spawn on it (#85952)
## About The Pull Request 1 line change that makes spawning on stuff such as table not offset you forever ## Why It's Good For The Game fixes #84121 ## Changelog 🆑 fix: spawning on a table or other elevated object does not offset you forever /🆑
This commit is contained in:
@@ -151,8 +151,8 @@
|
||||
|
||||
/datum/element/elevation_core/proc/on_initialized_on(turf/source, atom/movable/spawned)
|
||||
SIGNAL_HANDLER
|
||||
if(isliving(spawned))
|
||||
elevate_mob(spawned)
|
||||
if(isliving(spawned) && !HAS_TRAIT(spawned, TRAIT_ON_ELEVATED_SURFACE))
|
||||
on_entered(entered = spawned)
|
||||
|
||||
/datum/element/elevation_core/proc/on_exited(turf/source, atom/movable/gone)
|
||||
SIGNAL_HANDLER
|
||||
|
||||
Reference in New Issue
Block a user