mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
Fix GenpopLockerBoundUserInterface prediction (#42365)
fix genpop prediction
This commit is contained in:
parent
71040149a1
commit
94071a6350
2 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue