miepzerino
2023-12-18 cb24700e024e624fefbc1593647eab74222a5c58
Assets/Scripts/PlayerController.cs
@@ -63,7 +63,7 @@
    {
        get
        {
            return animator.GetBool(AnimationStrings.canMove);
            return animator.GetBool(AnimationStrings.canMove) && !PauseMenu.GameIsPaused;
        }
    }
@@ -159,9 +159,14 @@
        }
    }
    public void TakeDamage(int damage)
    {
        health.Hit(damage);
    }
    public void TakeFallDamage(int fallDamage)
    {
        health.Hit(fallDamage);
        TakeDamage(fallDamage);
    }
    //public void OnRun(InputAction.CallbackContext context)