mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
[MIRROR] Fixes being able to get to centcomm and move through floors when in mechs/boxes [MDB IGNORE] (#17738)
* Fixes being able to get to centcomm and move through floors when in mechs/boxes (#71486) ## About The Pull Request Fixes #71484 - Adds a check to the down verb to make sure a z level exists below before trying to move. Changes some step() in relay_move procs to use zMove instead if they have a direction of up/down, as this was causing you to be able to phase through floors if you were in a cardboard box/mech/etc ## Why It's Good For The Game  ## Changelog 🆑 fix: Fixed being able to move through floors and get to centcomm when moving up/down while inside mechs and similar movable objects. /🆑 * Fixes being able to get to centcomm and move through floors when in mechs/boxes * update modular Co-authored-by: GoblinBackwards <22856555+GoblinBackwards@users.noreply.github.com> Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
This commit is contained in:
co-authored by
GoblinBackwards
Tom
parent
a7d1017da6
commit
f12c3ff6c3
@@ -91,7 +91,7 @@
|
||||
ADD_TRAIT(wearer, TRAIT_FORCED_STANDING, MOD_TRAIT)
|
||||
addtimer(CALLBACK(src, PROC_REF(ai_fall)), AI_FALL_TIME, TIMER_UNIQUE | TIMER_OVERRIDE)
|
||||
var/atom/movable/mover = wearer || src
|
||||
return step(mover, direction)
|
||||
return mover.try_step_multiz(direction)
|
||||
|
||||
#undef MOVE_DELAY
|
||||
#undef WEARER_DELAY
|
||||
|
||||
Reference in New Issue
Block a user