mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-22 05:25:15 +01:00
Speeds up SSoverlays (#28933)
This commit is contained in:
@@ -27,11 +27,12 @@ PROCESSING_SUBSYSTEM_DEF(overlays)
|
||||
processing = SSoverlays.processing
|
||||
|
||||
/datum/controller/subsystem/processing/overlays/fire(resumed = FALSE, mc_check = TRUE)
|
||||
var/list/processing = src.processing
|
||||
while(processing.len)
|
||||
var/atom/thing = processing[processing.len]
|
||||
processing.len--
|
||||
if(thing)
|
||||
thing.compile_overlays(FALSE)
|
||||
thing.compile_overlays()
|
||||
if(mc_check)
|
||||
if(MC_TICK_CHECK)
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user