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