miepzerino
2023-12-18 474252bdfe25f5491679e181938fe2ea850132f4
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)