mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-21 20:11:04 +01:00
Openturf fixes, dynamically lit holodeck, and quick-pickup tweaks (#2943)
changes: The station's holodeck is now dynamically lit. Improved quick-pickup's tick checking & converted to assoc lists instead of if (thing in list). Fixed an edge case where openspace overlays would not properly cleanup on forceMove to a non-turf. Fixes #2941.
This commit is contained in:
@@ -36,7 +36,10 @@
|
||||
. = ..(dest)
|
||||
if (bound_overlay)
|
||||
// The overlay will handle cleaning itself up on non-openspace turfs.
|
||||
bound_overlay.forceMove(get_step(src, UP))
|
||||
if (isturf(dest))
|
||||
bound_overlay.forceMove(get_step(src, UP))
|
||||
else // Not a turf, so we need to destroy immediately instead of waiting for the destruction timer to proc.
|
||||
qdel(bound_overlay)
|
||||
|
||||
/atom/movable/update_above()
|
||||
if (!bound_overlay)
|
||||
|
||||
Reference in New Issue
Block a user