This commit is contained in:
Noah
2022-05-16 01:00:33 +02:00
4 changed files with 22 additions and 10 deletions
@@ -177,7 +177,10 @@ public class Player : MonoBehaviour
if (transform.position.y < 0)
{
world.ShowDeadScreen();
if(Time.timeScale > 0)
{
world.ShowDeadScreen();
}
}
if (Input.GetKeyDown(KeyCode.Escape))