feat: escape keyboard shortcut to set menu pause (#63)

This commit is contained in:
2025-05-15 18:05:54 +02:00
committed by GitHub
parent 3fe6a2998c
commit f818a9a8a7
4 changed files with 16 additions and 3 deletions

View File

@ -87,7 +87,6 @@ public class NormalGameMode : IGameMode
{
player.IsColliding = true;
Debug.Log(collision.gameObject.tag.ToString());
if (collision.gameObject.CompareTag("Kill"))
{
SceneManager.LoadScene(SceneManager.GetActiveScene().name);