mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 00:21:11 +01:00
Fastboot (#2761)
Adds a config option that disables some time consuming bootup steps that aren't generally required for debugging.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -17,10 +17,16 @@
|
||||
..("A:[config.sun_accuracy] LP:[light_points.len] Z:[config.sun_target_z]")
|
||||
|
||||
/datum/controller/subsystem/sunlight/Initialize()
|
||||
|
||||
presets = list()
|
||||
for (var/thing in subtypesof(/datum/sun_state))
|
||||
presets += new thing
|
||||
|
||||
if (config.fastboot)
|
||||
log_debug("sunlight: fastboot detected, skipping setup.")
|
||||
..()
|
||||
return
|
||||
|
||||
var/thing
|
||||
var/turf/T
|
||||
for (thing in block(locate(1, 1, config.sun_target_z), locate(world.maxx, world.maxy, config.sun_target_z)))
|
||||
|
||||
Reference in New Issue
Block a user