Merge pull request #1850 from Citadel-Station-13/upstream-merge-28933

[MIRROR] Speeds up SSoverlays
This commit is contained in:
LetterJay
2017-07-01 14:24:12 -05:00
committed by GitHub
@@ -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