Adds a config option that disables some time consuming bootup steps that aren't generally required for debugging.
This commit is contained in:
Lohikar
2017-06-22 05:15:20 -05:00
committed by skull132
parent 8445d042dc
commit bcccd88fd4
5 changed files with 26 additions and 0 deletions

View File

@@ -40,6 +40,11 @@ var/datum/controller/subsystem/icon_smooth/SSicon_smooth
for (var/zlevel = 1 to world.maxz)
smooth_zlevel(zlevel, FALSE)
if (config.fastboot)
log_debug("icon_smoothing: Skipping prebake, fastboot enabled.")
..()
return
var/queue = smooth_queue
smooth_queue = list()
for(var/V in queue)