Remove (some?) pop-up error spam. (#8538)
This commit is contained in:
@@ -259,7 +259,8 @@ namespace Content.Client.Popups
|
|||||||
|
|
||||||
if (Entity == null)
|
if (Entity == null)
|
||||||
screenCoords = _eyeManager.CoordinatesToScreen(InitialPos);
|
screenCoords = _eyeManager.CoordinatesToScreen(InitialPos);
|
||||||
else if (_entityManager.TryGetComponent(Entity.Value, out TransformComponent xform))
|
else if (_entityManager.TryGetComponent(Entity.Value, out TransformComponent xform)
|
||||||
|
&& xform.MapID == _eyeManager.CurrentMap)
|
||||||
screenCoords = _eyeManager.CoordinatesToScreen(xform.Coordinates);
|
screenCoords = _eyeManager.CoordinatesToScreen(xform.Coordinates);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user