clarinet check
This commit is contained in:
parent
7ab17418bb
commit
a833bdf0a1
@ -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())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user