moves all subsystems to length (#19168)

This commit is contained in:
Kashargul
2026-02-15 06:34:14 -08:00
committed by GitHub
parent ae6f945e05
commit a55b487389
50 changed files with 266 additions and 269 deletions
+3 -3
View File
@@ -8,7 +8,7 @@ SUBSYSTEM_DEF(orbit)
var/list/processing = list()
/datum/controller/subsystem/orbit/stat_entry(msg)
msg = "P:[processing.len]"
msg = "P:[length(processing)]"
return ..()
@@ -19,8 +19,8 @@ SUBSYSTEM_DEF(orbit)
//cache for sanic speed (lists are references anyways)
var/list/currentrun = src.currentrun
while (currentrun.len)
var/datum/orbit/O = currentrun[currentrun.len]
while (length(currentrun))
var/datum/orbit/O = currentrun[length(currentrun)]
currentrun.len--
if (!O)
processing -= O