From: Tayrtahn Date: Sun, 19 May 2024 00:12:47 +0000 (-0400) Subject: Fix activatable UI popup message spam (#28123) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=22aa8596dedd752883db5533ad67f777f482f80b;p=space-station-14.git Fix activatable UI popup message spam (#28123) Fixed activatable UI popup message spam --- diff --git a/Content.Shared/UserInterface/ActivatableUISystem.cs b/Content.Shared/UserInterface/ActivatableUISystem.cs index 3ac8835dd0..a6d27ac545 100644 --- a/Content.Shared/UserInterface/ActivatableUISystem.cs +++ b/Content.Shared/UserInterface/ActivatableUISystem.cs @@ -215,7 +215,7 @@ public sealed partial class ActivatableUISystem : EntitySystem if (aui.SingleUser && aui.CurrentSingleUser != null && user != aui.CurrentSingleUser) { var message = Loc.GetString("machine-already-in-use", ("machine", uiEntity)); - _popupSystem.PopupEntity(message, uiEntity, user); + _popupSystem.PopupClient(message, uiEntity, user); if (_uiSystem.IsUiOpen(uiEntity, aui.Key)) return true;