clarinet check

This commit is contained in:
allylikesfrogs 2023-05-03 10:11:00 -07:00
parent 7ab17418bb
commit a833bdf0a1

View File

@ -96,7 +96,7 @@ public class PlayerBehavior : MonoBehaviour
} }
unlockedClarinet = stateController.unlockedClarinet; unlockedClarinet = stateController.unlockedClarinet;
if(playerIsAlive) if(playerIsAlive && unlockedClarinet)
{ {
if (playerInput.actions["ClarinetDive"].WasPressedThisFrame()) if (playerInput.actions["ClarinetDive"].WasPressedThisFrame())
{ {