mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 20:37:34 +01:00
Minor startup performance improvements (#2177)
changes: Reduced Asteroid setup time by ~4 seconds on average. Fixed a bug where jump-to-turf may have not worked on mine turfs. Possible minor startup time improvements for SSair and Xenoarch.
This commit is contained in:
@@ -19,11 +19,7 @@
|
||||
new /datum/random_map/noise/ore(null, 0, 0, 5, 64, 64)
|
||||
new /datum/random_map/noise/ore(null, 0, 0, 4, 64, 64)
|
||||
new /datum/random_map/noise/ore(null, 0, 0, 3, 64, 64)
|
||||
var/counting_number
|
||||
for(var/turf/simulated/open/chasm in world)
|
||||
counting_number += 1
|
||||
chasm.update()
|
||||
var/counting_result = "Total number of chasms: [counting_number]"
|
||||
var/counting_result = "Total number of chasms: [SSopenturf.openspace_turfs.len]"
|
||||
admin_notice(span("danger", counting_result))
|
||||
game_log("ASGEN", counting_result)
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ var/datum/controller/subsystem/xenoarch/SSxenoarch
|
||||
|
||||
/datum/controller/subsystem/xenoarch/Initialize(timeofday)
|
||||
//create digsites
|
||||
for(var/turf/simulated/mineral/M in block(locate(1,1,1), locate(world.maxx, world.maxy, world.maxz)))
|
||||
for(var/turf/simulated/mineral/M in turfs)
|
||||
if(isnull(M.geologic_data))
|
||||
M.geologic_data = new/datum/geosample(M)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user