Renames most processing SS' to the convention of SS[SS name here] (#25302)

* Renames most processing SS'

* Contra review
This commit is contained in:
DGamerL
2024-05-02 01:55:38 +02:00
committed by GitHub
parent 271d67d237
commit 41eff52fac
12 changed files with 11 additions and 11 deletions

View File

@@ -0,0 +1,24 @@
PROCESSING_SUBSYSTEM_DEF(obj_tab_items)
name = "Obj Tab Items"
flags = SS_NO_INIT
runlevels = RUNLEVEL_LOBBY | RUNLEVELS_DEFAULT
wait = 0.1 SECONDS
// I know this is mostly copypasta, but I want to change the processing logic
// Sorry bestie :(
/datum/controller/subsystem/processing/obj_tab_items/fire(resumed = FALSE)
if(!resumed)
currentrun = processing.Copy()
//cache for sanic speed (lists are references anyways)
var/list/current_run = currentrun
while(length(current_run))
var/datum/thing = current_run[length(current_run)]
if(QDELETED(thing))
processing -= thing
else if(thing.process(wait * 0.1) == PROCESS_KILL)
// fully stop so that a future START_PROCESSING will work
STOP_PROCESSING(src, thing)
if(MC_TICK_CHECK)
return
current_run.len--