private static void CheckForSceneFinishedLoading() { if (IsLoading) { MelonHandler.OnLevelWasLoaded(LastSceneIndex); HasFinishedLoading = true; IsLoading = false; } }