shuttlefix

This commit is contained in:
Katherine Kiefer
2022-06-03 20:06:50 +10:00
parent 1e5b30e171
commit 1a43a70e92
2 changed files with 9 additions and 4 deletions

View File

@@ -141,10 +141,11 @@
/obj/docking_port/mobile/proc/takeoff(list/old_turfs, list/new_turfs, list/moved_atoms, rotation, movement_direction, old_dock, area/underlying_old_area)
for(var/turf/old_terf as anything in old_turfs)
old_terf.set_sleeping(TRUE)
for(var/turf/new_terf as anything in new_turfs)
new_terf.set_sleeping(TRUE)
for(var/turf/terf as anything in old_turfs + new_turfs)
terf.blocks_air = TRUE
for(var/turf/terf as anything in old_turfs + new_turfs)
terf.ImmediateCalculateAdjacentTurfs()
for(var/i in 1 to old_turfs.len)
var/turf/oldT = old_turfs[i]

View File

@@ -71,6 +71,10 @@ All ShuttleMove procs go here
return TRUE
/turf/proc/lateShuttleMove(turf/oldT)
blocks_air = initial(blocks_air)
oldT.blocks_air = initial(oldT.blocks_air)
AfterChange(CHANGETURF_RECALC_ADJACENT)
oldT.AfterChange(CHANGETURF_RECALC_ADJACENT)