mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
[MIRROR] fixes SM crystals dusting themselves after falling [MDB IGNORE] (#22729)
* fixes SM crystals dusting themselves after falling (#77128) ## About The Pull Request get_z_move_affected always returns src which is something that wasnt exactly accounted in this case ## Why It's Good For The Game fixes #76811 ## Changelog 🆑 fix: shoving a crystal down a hole no longer makes it dust itself /🆑 * fixes SM crystals dusting themselves after falling --------- Co-authored-by: jimmyl <70376633+mc-oofert@users.noreply.github.com>
This commit is contained in:
@@ -213,6 +213,8 @@
|
||||
/datum/component/supermatter_crystal/proc/intercept_z_fall(datum/source, list/falling_movables, levels)
|
||||
SIGNAL_HANDLER
|
||||
for(var/atom/movable/hit_object as anything in falling_movables)
|
||||
if(hit_object == source)
|
||||
continue
|
||||
bumped_hit(parent, hit_object)
|
||||
return FALL_INTERCEPTED | FALL_NO_MESSAGE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user