diff --git a/IPA.Injector/Injector.cs b/IPA.Injector/Injector.cs index 4544df6e..c7c554fd 100644 --- a/IPA.Injector/Injector.cs +++ b/IPA.Injector/Injector.cs @@ -334,10 +334,6 @@ namespace IPA.Injector log.Debug("Plugins loaded"); log.Debug(string.Join(", ", PluginLoader.PluginsMetadata.StrJP())); PluginComponent.Create(); - -#if DEBUG - Config.Stores.GeneratedStoreImpl.DebugSaveAssembly("GeneratedAssembly.dll"); -#endif } } } \ No newline at end of file diff --git a/IPA.Loader/Loader/PluginComponent.cs b/IPA.Loader/Loader/PluginComponent.cs index 3bfaa349..e6bbd98e 100644 --- a/IPA.Loader/Loader/PluginComponent.cs +++ b/IPA.Loader/Loader/PluginComponent.cs @@ -53,7 +53,11 @@ namespace IPA.Loader if (!unitySched.IsRunning) StartCoroutine(unitySched.Coroutine()); - initialized = true; + initialized = true; + +#if DEBUG + Config.Stores.GeneratedStoreImpl.DebugSaveAssembly("GeneratedAssembly.dll"); +#endif } }