Replace GridEntityId with Owner (#12743)
This commit is contained in:
@@ -41,7 +41,7 @@ namespace Content.IntegrationTests.Tests
|
||||
{
|
||||
var mapId = mapManager.CreateMap();
|
||||
var grid = mapManager.CreateGrid(mapId);
|
||||
var coord = new EntityCoordinates(grid.GridEntityId, 0, 0);
|
||||
var coord = new EntityCoordinates(grid.Owner, 0, 0);
|
||||
entityMan.SpawnEntity(protoId, coord);
|
||||
}
|
||||
});
|
||||
@@ -83,7 +83,7 @@ namespace Content.IntegrationTests.Tests
|
||||
.ToList();
|
||||
var mapId = mapManager.CreateMap();
|
||||
var grid = mapManager.CreateGrid(mapId);
|
||||
var coord = new EntityCoordinates(grid.GridEntityId, 0, 0);
|
||||
var coord = new EntityCoordinates(grid.Owner, 0, 0);
|
||||
foreach (var protoId in protoIds)
|
||||
{
|
||||
entityMan.SpawnEntity(protoId, coord);
|
||||
|
||||
Reference in New Issue
Block a user