Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 8b98fe1

Browse files
committed
changes to ssair
1 parent bd5890c commit 8b98fe1

File tree

1 file changed

+13
-0
lines changed
  • code/controllers/subsystem

1 file changed

+13
-0
lines changed

code/controllers/subsystem/air.dm

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,13 @@ SUBSYSTEM_DEF(air)
143143
if(state != SS_RUNNING)
144144
return
145145
resumed = 0
146+
currentpart = SSAIR_EQUALIZE
147+
148+
if(currentpart == SSAIR_EQUALIZE)
149+
equalize_turfs(resumed)
150+
if(state != SS_RUNNING)
151+
return
152+
resumed = 0
146153
currentpart = SSAIR_REBUILD_PIPENETS
147154

148155
if(currentpart == SSAIR_REBUILD_PIPENETS)
@@ -381,11 +388,17 @@ SUBSYSTEM_DEF(air)
381388
if(finish_turf_processing_auxtools(MC_TICK_REMAINING_MS))
382389
pause()
383390

391+
392+
/datum/controller/subsystem/air/proc/equalize_turfs(resumed = 0)
393+
if(equalize_turfs_auxtools(MC_TICK_REMAINING_MS))
394+
pause()
395+
384396
/datum/controller/subsystem/air/proc/post_process_turfs(resumed = 0)
385397
if(post_process_turfs_auxtools(resumed,MC_TICK_REMAINING_MS))
386398
pause()
387399

388400
/datum/controller/subsystem/air/proc/finish_turf_processing_auxtools()
401+
/datum/controller/subsystem/air/proc/equalize_turfs_auxtools()
389402
/datum/controller/subsystem/air/proc/process_turfs_auxtools()
390403
/datum/controller/subsystem/air/proc/post_process_turfs_auxtools()
391404
/datum/controller/subsystem/air/proc/process_turf_equalize_auxtools()

0 commit comments

Comments
 (0)