mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-01-29 18:31:03 +00:00
Shuttles update their base turfs each move
This commit is contained in:
@@ -348,6 +348,11 @@
|
||||
for(var/obj/structure/cable/C in A)
|
||||
powernets |= C.powernet
|
||||
|
||||
// Update our base turfs before we move, so that transparent turfs look good.
|
||||
var/new_base = destination.base_turf || /turf/space
|
||||
for(var/area/A as anything in shuttle_area)
|
||||
A.base_turf = new_base
|
||||
|
||||
// Actually do the movement of everything - This replaces origin.move_contents_to(destination)
|
||||
translate_turfs(turf_translation, current_location.base_area, current_location.base_turf)
|
||||
current_location = destination
|
||||
|
||||
Reference in New Issue
Block a user