Content update for NetEntities (#18935)
This commit is contained in:
@@ -97,12 +97,12 @@ public sealed partial class StoreSystem
|
||||
// only tell operatives to lock their uplink if it can be locked
|
||||
var showFooter = HasComp<RingerUplinkComponent>(store);
|
||||
var state = new StoreUpdateState(component.LastAvailableListings, allCurrency, showFooter);
|
||||
UserInterfaceSystem.SetUiState(ui, state);
|
||||
_ui.SetUiState(ui, state);
|
||||
}
|
||||
|
||||
private void OnRequestUpdate(EntityUid uid, StoreComponent component, StoreRequestUpdateInterfaceMessage args)
|
||||
{
|
||||
UpdateUserInterface(args.Session.AttachedEntity, args.Entity, component);
|
||||
UpdateUserInterface(args.Session.AttachedEntity, GetEntity(args.Entity), component);
|
||||
}
|
||||
|
||||
private void BeforeActivatableUiOpen(EntityUid uid, StoreComponent component, BeforeActivatableUIOpenEvent args)
|
||||
|
||||
Reference in New Issue
Block a user