mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
shuttlefix
This commit is contained in:
@@ -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]
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user