diff --git a/NEG/UI/UiManager.cs b/NEG/UI/UiManager.cs index 028a212..6cdb2b4 100644 --- a/NEG/UI/UiManager.cs +++ b/NEG/UI/UiManager.cs @@ -34,6 +34,8 @@ namespace NEG.UI /// public IWindow CurrentMainWindow { get; protected set; } + public PopupData CurrentPopup => currentShownPopup.data; + private IArea currentArea; private (PopupData data, int priority) currentShownPopup; protected IDefaultPopup currentDefaultPopup;