]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix borg's popup spam (#29861)
authorWinkarst-cpu <74284083+Winkarst-cpu@users.noreply.github.com>
Tue, 9 Jul 2024 23:48:56 +0000 (02:48 +0300)
committerGitHub <noreply@github.com>
Tue, 9 Jul 2024 23:48:56 +0000 (01:48 +0200)
Fix borg popup spam

Co-authored-by: Winkarst-cpu <Winkarst@users.noreply.github.com>
Content.Shared/Lock/LockSystem.cs

index bf4af1cb9a4e6d36b4ea8fc9cbd2aafc0e73a872..22a90aa0a62561d56caf37957e6ed584c78744aa 100644 (file)
@@ -365,7 +365,7 @@ public sealed class LockSystem : EntitySystem
         {
             args.Cancel();
             if (lockComp.Locked)
-                _sharedPopupSystem.PopupEntity(Loc.GetString("entity-storage-component-locked-message"), uid, args.User);
+                _sharedPopupSystem.PopupClient(Loc.GetString("entity-storage-component-locked-message"), uid, args.User);
         }
     }