[MIRROR] Fixes shuttles breaking when the turf the mobile dock is on is removed (#5880)

* Fixes shuttles breaking when the turf the mobile dock is on is removed (#36261)

* Fixes shuttles breaking when the turf the mobile dock is on is removed
This commit is contained in:
CitadelStationBot
2018-03-10 07:37:58 -06:00
committed by Poojawa
parent f4d3cfb0bd
commit 2570cefb40
2 changed files with 15 additions and 10 deletions
+1 -1
View File
@@ -135,7 +135,7 @@
var/atom/movable/moving_atom = old_contents[k]
if(moving_atom.loc != oldT) //fix for multi-tile objects
continue
move_mode = moving_atom.beforeShuttleMove(newT, rotation, move_mode) //atoms
move_mode = moving_atom.beforeShuttleMove(newT, rotation, move_mode, src) //atoms
move_mode = oldT.fromShuttleMove(newT, underlying_turf_type, baseturf_cache, move_mode) //turfs
move_mode = newT.toShuttleMove(oldT, move_mode , src) //turfs