Obsolete Logger cleanup for EntitySystems (#25941)
* Small obsolete Logger cleanup * Fixed three EntitySystem logs that weren't doing it right.
This commit is contained in:
@@ -231,7 +231,7 @@ namespace Content.Client.IconSmoothing
|
||||
|
||||
if (!spriteQuery.TryGetComponent(uid, out var sprite))
|
||||
{
|
||||
Logger.Error($"Encountered a icon-smoothing entity without a sprite: {ToPrettyString(uid)}");
|
||||
Log.Error($"Encountered a icon-smoothing entity without a sprite: {ToPrettyString(uid)}");
|
||||
RemCompDeferred(uid, smooth);
|
||||
return;
|
||||
}
|
||||
@@ -242,7 +242,7 @@ namespace Content.Client.IconSmoothing
|
||||
{
|
||||
if (!_mapManager.TryGetGrid(xform.GridUid, out grid))
|
||||
{
|
||||
Logger.Error($"Failed to calculate IconSmoothComponent sprite in {uid} because grid {xform.GridUid} was missing.");
|
||||
Log.Error($"Failed to calculate IconSmoothComponent sprite in {uid} because grid {xform.GridUid} was missing.");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user