fix grounded on dash window

This commit is contained in:
Nilton Constantino 2026-06-08 14:10:04 +01:00
parent e936db5567
commit 3fbfc07b41
No known key found for this signature in database

View File

@ -67,7 +67,9 @@ namespace Intrepid.Gameplay.Entities.Sentinel.StateMachine.States
private bool CheckDash()
{
if (Brain.Inputs.Dash())
// this could be a feature to be unlocked
// if (Brain.Inputs.Dash())
if (Brain.Entity.IsGrounded && Brain.Inputs.Dash())
{
Brain.ChangeState(SentinelStateType.Dash);
return true;