Gets rid of all leftover usages of IEyeManager.CurrentMap (#30022)

* Gets rid of all leftover usages of CurrentMap

* args works

* reverty

* skill issue

---------

Co-authored-by: plykiya <plykiya@protonmail.com>
This commit is contained in:
Plykiya
2024-08-04 20:16:47 -07:00
committed by GitHub
parent d0884a3074
commit c5b887fb4e

View File

@@ -44,7 +44,7 @@ namespace Content.Client.Administration
}
// if not on the same map, continue
if (_entityManager.GetComponent<TransformComponent>(entity.Value).MapID != _eyeManager.CurrentMap)
if (_entityManager.GetComponent<TransformComponent>(entity.Value).MapID != args.MapId)
{
continue;
}