Reduced Warning Count By 130 For Full Rebuilds (#26518)
* remove deprecated entity coordinate extension functions. Reduces warning count by approximately 50 * final toCoords Removed * Remove all unused variables and dead code paths * remove always true variable, should be a cvar or something instead * remove superfluous variables from tests
This commit is contained in:
@@ -59,7 +59,7 @@ public sealed class PrototypeSaveTest
|
||||
|
||||
var tileDefinition = tileDefinitionManager["FloorSteel"]; // Wires n such disable ambiance while under the floor
|
||||
var tile = new Tile(tileDefinition.TileId);
|
||||
var coordinates = grid.ToCoordinates();
|
||||
var coordinates = grid.Owner.ToCoordinates();
|
||||
|
||||
grid.SetTile(coordinates, tile);
|
||||
});
|
||||
@@ -94,7 +94,7 @@ public sealed class PrototypeSaveTest
|
||||
await server.WaitAssertion(() =>
|
||||
{
|
||||
Assert.That(!mapManager.IsMapInitialized(mapId));
|
||||
var testLocation = grid.ToCoordinates();
|
||||
var testLocation = grid.Owner.ToCoordinates();
|
||||
|
||||
Assert.Multiple(() =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user