mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 18:22:14 +00:00
Elevator music no longer haunts you endlessly if you step off mid-transit (#85039)
## About The Pull Request Closes #76043 Z level check in an elevator backfired. There is no case where this check actually needs to exist, if a mob stepped off the tracked tile it should get freed from elevator music torture no matter what. ## Changelog 🆑 fix: Elevator music no longer haunts you endlessly if you step off mid-transit /🆑
This commit is contained in:
@@ -83,8 +83,6 @@ GLOBAL_LIST_EMPTY(elevator_music)
|
|||||||
/datum/proximity_monitor/advanced/elevator_music_area/field_turf_uncrossed(mob/exited, turf/old_location, turf/new_location)
|
/datum/proximity_monitor/advanced/elevator_music_area/field_turf_uncrossed(mob/exited, turf/old_location, turf/new_location)
|
||||||
if (!(exited in tracked_mobs))
|
if (!(exited in tracked_mobs))
|
||||||
return
|
return
|
||||||
if (exited.z == host.z && get_dist(exited, host) <= current_range)
|
|
||||||
return
|
|
||||||
qdel(tracked_mobs[exited])
|
qdel(tracked_mobs[exited])
|
||||||
tracked_mobs -= exited
|
tracked_mobs -= exited
|
||||||
UnregisterSignal(exited, COMSIG_QDELETING)
|
UnregisterSignal(exited, COMSIG_QDELETING)
|
||||||
|
|||||||
Reference in New Issue
Block a user