mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
[MIRROR] multiz movement refactor redux [MDB IGNORE] (#9925)
* multiz movement refactor redux (#62132) * multiz movement refactor redux Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
@@ -69,6 +69,9 @@
|
||||
source.movement_type &= ~flag
|
||||
if((old_state & (FLOATING|FLYING)) && !(source.movement_type & (FLOATING|FLYING)))
|
||||
stop_floating(source)
|
||||
var/turf/pitfall = source.loc //Things that don't fly fall in open space.
|
||||
if(istype(pitfall))
|
||||
pitfall.zFall(source)
|
||||
SEND_SIGNAL(source, COMSIG_MOVETYPE_FLAG_DISABLED, flag, old_state)
|
||||
|
||||
/// Called when the TRAIT_NO_FLOATING_ANIM trait is added to the movable. Stops it from bobbing up and down.
|
||||
|
||||
Reference in New Issue
Block a user