fix escape

This commit is contained in:
haitem 2021-01-31 15:31:43 +01:00
parent 2e2783bc6c
commit 2eeb0fd521
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ public class PlayerManager : MonoBehaviour
if (Input.GetKeyDown(KeyCode.Escape))
{
DataManager.Level(SceneManager.GetActiveScene().buildIndex);
SceneManager.LoadScene(6);
SceneManager.LoadScene(4);
}
if (actualHealth <= 0 || gameObject.transform.position.y < -400.0f)
{