Shuttles update their base turfs each move

This commit is contained in:
Aronai Sieyes
2021-08-04 17:16:51 -04:00
parent 748dff84e4
commit 39dff2e209

View File

@@ -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