diff --git a/Content.Client/Security/Ui/GenpopLockerBoundUserInterface.cs b/Content.Client/Security/Ui/GenpopLockerBoundUserInterface.cs index a546fa6fc6..63276e1a90 100644 --- a/Content.Client/Security/Ui/GenpopLockerBoundUserInterface.cs +++ b/Content.Client/Security/Ui/GenpopLockerBoundUserInterface.cs @@ -16,7 +16,7 @@ public sealed class GenpopLockerBoundUserInterface(EntityUid owner, Enum uiKey) _menu.OnConfigurationComplete += (name, time, crime) => { - SendMessage(new GenpopLockerIdConfiguredMessage(name, time, crime)); + SendPredictedMessage(new GenpopLockerIdConfiguredMessage(name, time, crime)); Close(); }; diff --git a/Content.Shared/Security/Systems/SharedGenpopSystem.cs b/Content.Shared/Security/Systems/SharedGenpopSystem.cs index 66bf5ca254..410922747b 100644 --- a/Content.Shared/Security/Systems/SharedGenpopSystem.cs +++ b/Content.Shared/Security/Systems/SharedGenpopSystem.cs @@ -59,7 +59,7 @@ public abstract class SharedGenpopSystem : EntitySystem // Instead, we just fill in the spot temporarily til the checks pass. ent.Comp.LinkedId = EntityUid.Invalid; - _lock.Lock(ent.Owner, null); + _lock.Lock(ent.Owner, args.Actor); _entityStorage.CloseStorage(ent); CreateId(ent, args.Name, args.Sentence, args.Crime);