diff --git a/Assets/Scenes/Level01.unity b/Assets/Scenes/Level01.unity index ba58225642c93928fcb7a00832a2a05f3c5cb9fd..de3be64d3f3b84e3886c8c8d3b64dc8c47accfa6 100644 --- a/Assets/Scenes/Level01.unity +++ b/Assets/Scenes/Level01.unity @@ -1298,7 +1298,7 @@ MonoBehaviour: flashSpeed: 5 flashColour: {r: 1, g: 0, b: 0, a: 0.1} healColour: {r: 0, g: 1, b: 0.59516406, a: 0.101960786} - godMode: 1 + godMode: 0 worldAudioSource: {fileID: 0} playerShootingGun: {fileID: 328344452} playerShootingShotgun: {fileID: 1132469767} diff --git a/Assets/Scripts/Managers/GameOverManager.cs b/Assets/Scripts/Managers/GameOverManager.cs index 94093a09abfcefd46b0efa6a26528a9e217f9c76..f005c830e97552b611a789dde7235ee4014427c1 100644 --- a/Assets/Scripts/Managers/GameOverManager.cs +++ b/Assets/Scripts/Managers/GameOverManager.cs @@ -37,11 +37,12 @@ namespace Nightmare public void ResetLevel() { - ScoreManager.score = 0; - LevelManager lm = FindObjectOfType<LevelManager>(); - lm.LoadInitialLevel(); - anim.SetBool("GameOver", false); - playerHealth.ResetPlayer(); + //ScoreManager.score = 0; + //LevelManager lm = FindObjectOfType<LevelManager>(); + //lm.LoadInitialLevel(); + //anim.SetBool("GameOver", false); + //playerHealth.ResetPlayer(); + SceneManager.LoadScene("Level01"); } public void ExitGame()