瀏覽代碼

Fix activation while confirm exit dialogue is open

habeebweeb 4 年之前
父節點
當前提交
7305fd3424
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/MeidoPhotoStudio.cs

+ 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();