mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 20:43:10 +01:00
First pass on experimental change that allows zones to "Sleep"
This commit is contained in:
+7
-6
@@ -126,10 +126,11 @@ zone/proc/DebugDisplay(client/client)
|
||||
client.images -= client.zone_debug_images[src]
|
||||
client.zone_debug_images.Remove(src)
|
||||
|
||||
for(var/zone/Z in zones)
|
||||
if(Z.air == air && Z != src)
|
||||
var/turf/zloc = pick(Z.contents)
|
||||
client << "\red Illegal air datum shared by: [zloc.loc.name]"
|
||||
if(air_master)
|
||||
for(var/zone/Z in air_master.zones)
|
||||
if(Z.air == air && Z != src)
|
||||
var/turf/zloc = pick(Z.contents)
|
||||
client << "\red Illegal air datum shared by: [zloc.loc.name]"
|
||||
|
||||
|
||||
client/proc/TestZASRebuild()
|
||||
@@ -181,7 +182,7 @@ client/proc/TestZASRebuild()
|
||||
sleep(5)
|
||||
|
||||
if(turfs[current])
|
||||
current.overlays += overlays[turfs[current]]
|
||||
current.overlays -= overlays[turfs[current]]
|
||||
turfs[current] = lowest_id
|
||||
current.overlays += overlays[lowest_id]
|
||||
sleep(5)
|
||||
@@ -209,4 +210,4 @@ client/proc/TestZASRebuild()
|
||||
for(var/turf/current in turfs)
|
||||
current.overlays -= overlays
|
||||
|
||||
return final_arrangement
|
||||
return final_arrangement
|
||||
Reference in New Issue
Block a user