diff --git a/MrBigsock/Assets/Code/PlayerController.cs b/MrBigsock/Assets/Code/PlayerController.cs index e2aaff23c92eb4cf44d8089acdbbae817d5f1248..eddaf59030c7f7b5e1989e5c41643baf049935bb 100644 --- a/MrBigsock/Assets/Code/PlayerController.cs +++ b/MrBigsock/Assets/Code/PlayerController.cs @@ -126,7 +126,7 @@ namespace BigSock { private void Update() { - if (Input.GetKeyDown(KeyCode.Space) || Input.GetMouseButtonDown(0)) { + if (Input.GetKeyDown(KeyCode.Space) || Input.GetMouseButton(0)) { // Manage attack cooldown. if(NextTimeCanAttack <= DateTime.Now) { NextTimeCanAttack = DateTime.Now.AddSeconds(AttackCooldown);