mirror of
https://github.com/space-wizards/space-station-14.git
synced 2026-02-15 03:31:30 +01:00
Remove PoolSettings.ExtraPrototypes option (#18678)
This commit is contained in:
@@ -20,6 +20,7 @@ namespace Content.Benchmarks
|
||||
|
||||
public static async Task MainAsync(string[] args)
|
||||
{
|
||||
PoolManager.Startup(typeof(Program).Assembly);
|
||||
var pair = await PoolManager.GetServerClient();
|
||||
var gameMaps = pair.Pair.Server.ResolveDependency<IPrototypeManager>().EnumeratePrototypes<GameMapPrototype>().ToList();
|
||||
MapLoadBenchmark.MapsSource = gameMaps.Select(x => x.ID);
|
||||
@@ -33,6 +34,8 @@ namespace Content.Benchmarks
|
||||
var config = Environment.GetEnvironmentVariable("ROBUST_BENCHMARKS_ENABLE_SQL") != null ? DefaultSQLConfig.Instance : null;
|
||||
BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args, config);
|
||||
#endif
|
||||
|
||||
PoolManager.Shutdown();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user