1
Fork 0
mirror of https://github.com/thegeneralist01/Scene-Manager-DevRepo synced 2026-01-10 15:20:29 +01:00

Added return after unloading plugin

This commit is contained in:
Rich Dunne 2021-07-24 07:35:36 -06:00
parent 5214ba7a88
commit c68ba728e9

View file

@ -18,6 +18,7 @@ namespace SceneManager
if (!DependencyChecker.DependenciesInstalled())
{
Game.UnloadActivePlugin();
return;
}
while (Game.IsLoading)
@ -55,7 +56,6 @@ namespace SceneManager
PathManager.DeleteAllPaths();
Game.LogTrivial($"Plugin has shut down.");
//Game.DisplayNotification($"~o~Scene Manager ~r~[Terminated]\n~w~The plugin has shut down.");
}
}
}