Skip to content

Commit

Permalink
fixed loading bug
Browse files Browse the repository at this point in the history
  • Loading branch information
13on4rd committed Nov 13, 2024
1 parent f589821 commit 41c48d3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Assets/Scripts/Scene Loading/LoadingManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -324,14 +324,15 @@ public async UniTask ReloadData(string sceneToLoad, int worldIndex, int dungeonI
progressText.text = "100%";
loadingText.text = "DONE...";

try
/*try
{
await SceneManager.UnloadSceneAsync("LoadingScreen");
}
catch (ArgumentNullException)
{
}
}*/
SceneManager.UnloadScene("LoadingScreen");
}

/// <summary>
Expand Down

0 comments on commit 41c48d3

Please sign in to comment.