Fix some test warnings (#24324)

Extracted from smug's pr.
This commit is contained in:
metalgearsloth
2024-01-20 17:15:10 +11:00
committed by GitHub
parent f10ecf4410
commit 4a13dbea76
5 changed files with 36 additions and 27 deletions

View File

@@ -108,7 +108,7 @@ public sealed class CargoTest
await server.WaitAssertion(() =>
{
var mapId = testMap.MapId;
var grid = mapManager.CreateGrid(mapId);
var grid = mapManager.CreateGridEntity(mapId);
var coord = new EntityCoordinates(grid.Owner, 0, 0);
var protoIds = protoManager.EnumeratePrototypes<EntityPrototype>()