clarinet check

This commit is contained in:
allylikesfrogs committed 2023-05-03 10:11:00 -07:00
1 parent 7ab17418bb
commit a833bdf0a1
1 file changed
+1 -1
+1 -1
View File
@@ -96,7 +96,7 @@ public class PlayerBehavior : MonoBehaviour
}
unlockedClarinet = stateController.unlockedClarinet;
if(playerIsAlive)
if(playerIsAlive && unlockedClarinet)
{
if (playerInput.actions["ClarinetDive"].WasPressedThisFrame())
{