Revert "Update submodule to 0.34.0.0 (#10356)" (#10359)

This commit is contained in:
metalgearsloth
2022-08-06 16:48:21 +10:00
committed by GitHub
parent bab54e5e3e
commit 45bd1edd5b
69 changed files with 86 additions and 79 deletions

View File

@@ -645,12 +645,12 @@ namespace Content.Server.Storage.EntitySystems
DebugTools.Assert(storedStorageComp != storageComp, $"Storage component contains itself!? Entity: {uid}");
}
if (!TryComp(entity, out ServerUserInterfaceComponent? ui))
continue;
foreach (var bui in ui.Interfaces.Values)
if (TryComp(entity, out ServerUserInterfaceComponent? uiComponent))
{
_uiSystem.TryClose(uid, bui.UiKey, session, ui);
foreach (var ui in uiComponent.Interfaces)
{
ui.Close(session);
}
}
}
}