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:
parent
5214ba7a88
commit
c68ba728e9
1 changed files with 1 additions and 1 deletions
|
|
@ -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.");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue