revenant cleanup (#10662)

This commit is contained in:
Nemanja
2022-08-18 20:04:23 -04:00
committed by GitHub
parent b8ce23f666
commit d7e0b70e2c
18 changed files with 92 additions and 388 deletions

View File

@@ -60,15 +60,13 @@ public sealed partial class StoreSystem : EntitySystem
{
ui = component.Owner.GetUIOrNull(StoreUiKey.Key);
if (ui == null)
{
Logger.Error("No Ui key.");
return;
}
}
//if we haven't opened it before, initialize the shit
if (!component.Opened)
{
RefreshAllListings(component);
InitializeFromPreset(component.Preset, component);
component.Opened = true;
}