Compare commits

..

2 Commits

Author SHA1 Message Date
haitem
93e4d21108 Merge branch 'master' of https://git.steelants.cz/GJP/GlobalGameJam-2021 2021-01-31 15:31:53 +01:00
haitem
2eeb0fd521 fix escape 2021-01-31 15:31:43 +01:00

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)
{