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:
@@ -1,6 +1,5 @@
|
||||
using System.Numerics;
|
||||
using Robust.Shared.Map;
|
||||
using Robust.Shared.Map.Components;
|
||||
|
||||
namespace Content.Shared.Coordinates
|
||||
{
|
||||
@@ -20,17 +19,5 @@ namespace Content.Shared.Coordinates
|
||||
{
|
||||
return new EntityCoordinates(id, x, y);
|
||||
}
|
||||
|
||||
[Obsolete]
|
||||
public static EntityCoordinates ToCoordinates(this MapGridComponent grid, float x, float y)
|
||||
{
|
||||
return ToCoordinates(grid.Owner, x, y);
|
||||
}
|
||||
|
||||
[Obsolete]
|
||||
public static EntityCoordinates ToCoordinates(this MapGridComponent grid)
|
||||
{
|
||||
return ToCoordinates(grid.Owner, Vector2.Zero);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user