diff --git a/Content.Server/VoiceMask/VoiceMaskSystem.cs b/Content.Server/VoiceMask/VoiceMaskSystem.cs index 1df66b608c..81ff76fb7a 100644 --- a/Content.Server/VoiceMask/VoiceMaskSystem.cs +++ b/Content.Server/VoiceMask/VoiceMaskSystem.cs @@ -3,6 +3,7 @@ using Content.Server.Chat.Systems; using Content.Server.Popups; using Content.Shared.Database; using Content.Shared.Inventory.Events; +using Content.Shared.Popups; using Content.Shared.Preferences; using Content.Shared.VoiceMask; using Robust.Server.GameObjects; @@ -35,7 +36,7 @@ public sealed partial class VoiceMaskSystem : EntitySystem { if (message.Name.Length > HumanoidCharacterProfile.MaxNameLength || message.Name.Length <= 0) { - _popupSystem.PopupCursor(Loc.GetString("voice-mask-popup-failure"), message.Session); + _popupSystem.PopupEntity(Loc.GetString("voice-mask-popup-failure"), uid, message.Session, PopupType.SmallCaution); return; } @@ -45,7 +46,7 @@ public sealed partial class VoiceMaskSystem : EntitySystem else _adminLogger.Add(LogType.Action, LogImpact.Medium, $"Voice of {ToPrettyString(uid):mask} set: {component.VoiceName}"); - _popupSystem.PopupCursor(Loc.GetString("voice-mask-popup-success"), message.Session); + _popupSystem.PopupEntity(Loc.GetString("voice-mask-popup-success"), uid, message.Session); TrySetLastKnownName(uid, message.Name);