fix: Changed one last invocation to the new state controller system
This commit is contained in:
parent
212695df5d
commit
4c7ab5fc8c
@ -32,7 +32,7 @@ public class DebugSceneSwitcher : MonoBehaviour
|
||||
public void ChangeScene(int index)
|
||||
{
|
||||
// print(index);
|
||||
this.gameObject.SetActive(false);
|
||||
SceneController.Instance.LoadChosenScene(index);
|
||||
this.gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
|
@ -112,7 +112,7 @@ public class PlayerMovement : MonoBehaviour
|
||||
|
||||
private void Update()
|
||||
{
|
||||
unlockedTrumpet = stateController.unlockedTrumpet;
|
||||
unlockedTrumpet = StateController.Instance.HasTrumpet();
|
||||
#region TIMERS
|
||||
LastOnGroundTime -= Time.deltaTime;
|
||||
LastOnWallTime -= Time.deltaTime;
|
||||
|
Loading…
Reference in New Issue
Block a user