فهرست منبع

Fix MeidoManager interrupting deactivation

MeidoManager tries to set the edit maid when leaving to the title screen
but it can't do it properly so it throws an error and stops
deactivation for everything else.

Since the edit mode state is reset anyway, cleaning up when returning to
the title screen is unnecessary.
habeebweeb 4 سال پیش
والد
کامیت
4f7305d8a9
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Managers/MeidoManager.cs

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Managers/MeidoManager.cs

@@ -107,7 +107,7 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
 
             ActiveMeidoList.Clear();
 
-            if (MeidoPhotoStudio.EditMode)
+            if (MeidoPhotoStudio.EditMode && !GameMain.Instance.MainCamera.IsFadeOut())
             {
                 Meido meido = Meidos[EditMaidIndex];
                 meido.Maid.Visible = true;