mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 21:17:44 +01:00
Fixes jank with moving down Zs as a ghost (#81837)
## About The Pull Request Caused by goof's PR. Because for some reason observers overridde `up` to skip checks but not `down`. ## Changelog 🆑 Melbert fix: Moving "down" as an observer is no longer janky. /🆑
This commit is contained in:
@@ -1,11 +1,17 @@
|
||||
/mob/dead/observer/down()
|
||||
set name = "Move Down"
|
||||
set category = "IC"
|
||||
|
||||
if(zMove(DOWN, z_move_flags = ZMOVE_FEEDBACK))
|
||||
to_chat(src, span_notice("You move down."))
|
||||
|
||||
/mob/dead/observer/up()
|
||||
set name = "Move Upwards"
|
||||
set category = "IC"
|
||||
|
||||
if(zMove(UP, z_move_flags = ZMOVE_FEEDBACK))
|
||||
to_chat(src, "<span class='notice'>You move upwards.</span>")
|
||||
to_chat(src, span_notice("You move upwards."))
|
||||
|
||||
/mob/dead/observer/can_z_move(direction, turf/start, turf/destination, z_move_flags = NONE, mob/living/rider)
|
||||
z_move_flags |= ZMOVE_IGNORE_OBSTACLES //observers do not respect these FLOORS you speak so much of.
|
||||
return ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user