Remove remaining usages of MapManager Grid/Tile changed and NextMapId (#7302)

This commit is contained in:
DrSmugleaf
2022-03-28 08:23:33 +02:00
committed by GitHub
parent 31e19f6708
commit a6198ff83a
3 changed files with 13 additions and 25 deletions

View File

@@ -33,8 +33,7 @@ namespace Content.IntegrationTests.Tests
var dir = new ResourcePath(mapPath).Directory;
resManager.UserData.CreateDir(dir);
var nextMapId = mapManager.NextMapId();
var mapId = mapManager.CreateMap(nextMapId);
var mapId = mapManager.CreateMap();
{
var mapGrid = mapManager.CreateGrid(mapId);
@@ -51,7 +50,7 @@ namespace Content.IntegrationTests.Tests
mapLoader.SaveMap(mapId, mapPath);
mapManager.DeleteMap(nextMapId);
mapManager.DeleteMap(mapId);
});
await server.WaitIdleAsync();