Просмотр исходного кода

Fix activation while confirm exit dialogue is open

habeebweeb 4 лет назад
Родитель
Сommit
7305fd3424

+ 2 - 0
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/MeidoPhotoStudio.cs

@@ -352,6 +352,8 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
 
         private void Activate()
         {
+            if (!GameMain.Instance.SysDlg.IsDecided) return;
+
             if (!initialized) Initialize();
 
             SetNearClipPlane();