]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
fix double interaction popup (#26684)
authorlunarcomets <140772713+lunarcomets@users.noreply.github.com>
Wed, 3 Apr 2024 13:19:43 +0000 (06:19 -0700)
committerGitHub <noreply@github.com>
Wed, 3 Apr 2024 13:19:43 +0000 (09:19 -0400)
change popentity to popupclient

Content.Shared/Interaction/SharedInteractionSystem.cs

index e4864b1f7fc4689ab6d98cfb8db190c40615070a..8d49ce31f0a91558102b731b67a5bd215832e843 100644 (file)
@@ -682,7 +682,7 @@ namespace Content.Shared.Interaction
             if (!inRange && popup && _gameTiming.IsFirstTimePredicted)
             {
                 var message = Loc.GetString("interaction-system-user-interaction-cannot-reach");
-                _popupSystem.PopupEntity(message, origin, origin);
+                _popupSystem.PopupClient(message, origin, origin);
             }
 
             return inRange;