Fix game over screen
This commit is contained in:
@@ -91,10 +91,8 @@ namespace Minigames.BirdPooper
|
|||||||
|
|
||||||
// Reset time scale BEFORE reloading
|
// Reset time scale BEFORE reloading
|
||||||
Time.timeScale = 1f;
|
Time.timeScale = 1f;
|
||||||
|
|
||||||
// Now reload the current scene with fresh state - skipSave=true prevents re-saving cleared data
|
|
||||||
var progress = new Progress<float>(p => Logging.Debug($"Loading progress: {p * 100:F0}%"));
|
var progress = new Progress<float>(p => Logging.Debug($"Loading progress: {p * 100:F0}%"));
|
||||||
await SceneManagerService.Instance.ReloadCurrentScene(progress, autoHideLoadingScreen: true, skipSave: true);
|
await SceneManagerService.Instance.ReloadCurrentScene(progress);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user