miepzerino
2025-03-30 f779695c9ea7106f0abb098ce628f95f695a5e4f
Assets/Scripts/PlayerController.cs
@@ -136,7 +136,7 @@
    {
        get
        {
            return animator.GetBool(AnimationStrings.canMove) && !PauseMenu.GameIsPaused && !IsDrilling;
            return animator.GetBool(AnimationStrings.canMove) && !GameManager.GameIsPaused && !IsDrilling;
        }
    }
@@ -154,10 +154,10 @@
    private void Awake()
    {
        if(Debug.isDebugBuild)
        {
            moveSpeed = 25f;
        }
        //if(Debug.isDebugBuild)
        //{
        //    moveSpeed = 25f;
        //}
        rb = GetComponent<Rigidbody2D>();
        animator = GetComponent<Animator>();
        animator_rotor = rotorGO.GetComponent<Animator>();