mirror of
https://github.com/wega-team/ss14-wega.git
synced 2026-02-14 19:30:01 +01:00
Fix GenpopLockerBoundUserInterface prediction (#42365)
fix genpop prediction
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user