Remove redundant HasUi (#27381)

Doesn't fix anything but still.
This commit is contained in:
metalgearsloth
2024-04-27 15:08:50 +10:00
committed by GitHub
parent 1dd0e0718c
commit cc2fa6f57e

View File

@@ -208,9 +208,6 @@ public sealed partial class ActivatableUISystem : EntitySystem
if (!Resolve(uid, ref aui, false))
return;
if (!_uiSystem.HasUi(uid, aui.Key))
return;
_uiSystem.CloseUi(uid, aui.Key);
}