Remove obsolete TestPair.Pair (#19496)

This commit is contained in:
Visne
2023-08-25 02:56:51 +02:00
committed by GitHub
parent e1639b05b5
commit 3c667b6f7e
101 changed files with 717 additions and 727 deletions

View File

@@ -34,8 +34,8 @@ namespace Content.MapRenderer
{
Console.WriteLine("Didn't specify any maps to paint! Loading the map list...");
await using var pairTracker = await PoolManager.GetServerClient();
var mapIds = pairTracker.Pair.Server
await using var pair = await PoolManager.GetServerClient();
var mapIds = pair.Server
.ResolveDependency<IPrototypeManager>()
.EnumeratePrototypes<GameMapPrototype>()
.Select(map => map.ID)
@@ -108,8 +108,8 @@ namespace Content.MapRenderer
Console.WriteLine("Retrieving map ids by map file names...");
Console.Write("Fetching map prototypes... ");
await using var pairTracker = await PoolManager.GetServerClient();
var mapPrototypes = pairTracker.Pair.Server
await using var pair = await PoolManager.GetServerClient();
var mapPrototypes = pair.Server
.ResolveDependency<IPrototypeManager>()
.EnumeratePrototypes<GameMapPrototype>()
.ToArray();