mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Slight decrease in initialization time.
Minimap generation now runs parallel to generating everything that inits after it, and ends up finishing after the lobby screen appears.
This commit is contained in:
@@ -179,7 +179,7 @@ datum/controller/game_controller/proc/cachedamageicons()
|
||||
populate_asset_cache()
|
||||
log_startup_progress(" Populated [asset_cache.len] assets in [stop_watch(watch)]s.")
|
||||
|
||||
watch = start_watch()
|
||||
watch = start_watch()
|
||||
log_startup_progress("Initializing objects...")
|
||||
//sleep(-1) // Why
|
||||
//var/last_init_type = null
|
||||
@@ -225,11 +225,12 @@ datum/controller/game_controller/proc/cachedamageicons()
|
||||
|
||||
|
||||
watch = start_watch()
|
||||
log_startup_progress("Generating in-game minimaps...")
|
||||
generateMiniMaps()
|
||||
log_startup_progress(" Finished minimaps in [stop_watch(watch)]s.")
|
||||
spawn(0)
|
||||
log_startup_progress("Generating in-game minimaps...")
|
||||
generateMiniMaps()
|
||||
log_startup_progress(" Finished minimaps in [stop_watch(watch)]s.")
|
||||
|
||||
log_startup_progress("Finished initializations in [stop_watch(overwatch)]s.")
|
||||
log_startup_progress("Finished initializations in [stop_watch(overwatch)]s.")
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user