only turn ImGui asserts on if we are actually loading a devplugin

This commit is contained in:
goat 2024-12-25 23:42:50 +01:00
parent 1083081706
commit b79c646b9b
2 changed files with 3 additions and 6 deletions

View file

@ -1572,6 +1572,9 @@ internal class PluginManager : IInternalDisposableService
{
Log.Information($"Loading dev plugin {name}");
plugin = new LocalDevPlugin(dllFile, manifest);
// This is a dev plugin - turn ImGui asserts on by default if we haven't chosen yet
this.configuration.ImGuiAssertsEnabledAtStartup ??= true;
}
else
{