Fix activatable UI popup message spam (#28123)

Fixed activatable UI popup message spam
This commit is contained in:
Tayrtahn 2024-05-18 20:12:47 -04:00 • committed by GitHub
parent fc11cc90ac
commit 22aa8596de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;