Fix GenpopLockerBoundUserInterface prediction (#42365)
fix genpop prediction
This commit is contained in:
parent
e6d30f7f95
commit
0631053495
|
|
@ -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…
Reference in New Issue