Преглед на файлове

Actually set the 'initialized' flag

Never actually set the thing to true after initialization :/
habeebweeb преди 4 години
родител
ревизия
07aeb20aed
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/MeidoPhotoStudio.cs

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

@@ -140,6 +140,7 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
         private void Initialize()
         {
             if (initialized) return;
+            initialized = true;
 
             meidoManager = new MeidoManager();
             propManager = new PropManager();