]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Gets rid of all leftover usages of IEyeManager.CurrentMap (#30022)
authorPlykiya <58439124+Plykiya@users.noreply.github.com>
Mon, 5 Aug 2024 03:16:47 +0000 (20:16 -0700)
committerGitHub <noreply@github.com>
Mon, 5 Aug 2024 03:16:47 +0000 (13:16 +1000)
* Gets rid of all leftover usages of CurrentMap

* args works

* reverty

* skill issue

---------

Co-authored-by: plykiya <plykiya@protonmail.com>
Content.Client/Administration/AdminNameOverlay.cs

index c21ba2e32cadc6f5718ad1780d4d47518fe7edc1..27b2a5dedb066bc4492f11c5862938eef860f57e 100644 (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;
                 }