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:
parent
075dec6ba2
commit
f9ebd78a78
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue