1
Fork 0
mirror of https://github.com/thegeneralist01/Scene-Manager-DevRepo synced 2026-01-11 15:40: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()) if (!DependencyChecker.DependenciesInstalled())
{ {
Game.UnloadActivePlugin(); Game.UnloadActivePlugin();
return;
} }
while (Game.IsLoading) while (Game.IsLoading)
@ -55,7 +56,6 @@ namespace SceneManager
PathManager.DeleteAllPaths(); PathManager.DeleteAllPaths();
Game.LogTrivial($"Plugin has shut down."); Game.LogTrivial($"Plugin has shut down.");
//Game.DisplayNotification($"~o~Scene Manager ~r~[Terminated]\n~w~The plugin has shut down.");
} }
} }
} }