This commit is contained in:
Katherine Kiefer
2022-06-05 17:58:56 +10:00
parent ddf2e39667
commit f82c2464aa
2 changed files with 3 additions and 15 deletions

View File

@@ -86,12 +86,9 @@
var/list/border = block(locate(max(T.x, 1), max(T.y, 1), T.z),
locate(min(T.x+width, world.maxx), min(T.y+height, world.maxy), T.z))
for(var/L in border)
var/turf/turf_to_disable = L
turf_to_disable.set_sleeping(TRUE)
if(SSair.initialized)
sleep(1)
for(var/turf/L as anything in border)
L.blocks_air = TRUE
L.ImmediateCalculateAdjacentTurfs()
// Accept cached maps, but don't save them automatically - we don't want
// ruins clogging up memory for the whole round.

View File

@@ -77,14 +77,6 @@
remove_ripples()
return DOCKING_IMMOBILIZED
for(var/turf/old_terf in old_turfs)
old_terf.set_sleeping(TRUE)
for(var/turf/new_terf in new_turfs)
new_terf.set_sleeping(TRUE)
if(SSair.initialized)
sleep(1)
// Moving to the new location will trample the ripples there at the exact
// same time any mobs there are trampled, to avoid any discrepancy where
// the ripples go away before it is safe.
@@ -146,7 +138,6 @@
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]
var/turf/newT = new_turfs[i]