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:
@@ -10,11 +10,6 @@ namespace Content.Shared.Shuttles.Components;
|
||||
[Access(typeof(SharedShuttleSystem))]
|
||||
public sealed partial class IFFComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Should we show IFF by default?
|
||||
/// </summary>
|
||||
public const bool ShowIFFDefault = true;
|
||||
|
||||
public static readonly Color SelfColor = Color.MediumSpringGreen;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -28,11 +28,6 @@ public abstract partial class SharedShuttleSystem
|
||||
|
||||
public string? GetIFFLabel(EntityUid gridUid, bool self = false, IFFComponent? component = null)
|
||||
{
|
||||
if (!IFFComponent.ShowIFFDefault)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
var entName = MetaData(gridUid).EntityName;
|
||||
|
||||
if (self)
|
||||
|
||||
@@ -146,7 +146,6 @@ public abstract partial class SharedShuttleSystem : EntitySystem
|
||||
|
||||
// Just checks if any grids inside of a buffer range at the target position.
|
||||
_grids.Clear();
|
||||
var ftlRange = FTLRange;
|
||||
var mapCoordinates = coordinates.ToMap(EntityManager, XformSystem);
|
||||
|
||||
var ourPos = Maps.GetGridPosition((shuttleUid, shuttlePhysics, shuttleXform));
|
||||
|
||||
Reference in New Issue
Block a user