Преглед изворни кода

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()
         private void Initialize()
         {
         {
             if (initialized) return;
             if (initialized) return;
+            initialized = true;
 
 
             meidoManager = new MeidoManager();
             meidoManager = new MeidoManager();
             propManager = new PropManager();
             propManager = new PropManager();