Closes UI when the panel closes (#2242)
This commit is contained in:
@@ -56,6 +56,9 @@ namespace Content.Server.GameObjects.Components
|
|||||||
}
|
}
|
||||||
|
|
||||||
_isPanelOpen = value;
|
_isPanelOpen = value;
|
||||||
|
|
||||||
|
if (!_isPanelOpen)
|
||||||
|
UserInterface?.CloseAll();
|
||||||
UpdateAppearance();
|
UpdateAppearance();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user