Fix being unable to do forward tilts from a walk
CI / build-and-test (pull_request) Failing after 1m59s
CI / production-build (pull_request) Successful in 11m15s

This commit is contained in:
2026-09-27 17:56:56 +02:00
parent f63effb067
commit e57a0eeaad
+2 -2
View File
@@ -3,7 +3,7 @@ use super::{
ground, wait, ground, wait,
}; };
use crate::fighter::animation::AnimKind; use crate::fighter::animation::AnimKind;
use crate::fighter::state::FighterState; use crate::fighter::state::{self, FighterState};
#[derive(Debug, Clone, Hash)] #[derive(Debug, Clone, Hash)]
pub struct WalkState; pub struct WalkState;
@@ -14,7 +14,7 @@ impl FighterStateImpl for WalkState {
if let Some(state) = ground::grounded_movement_common_interrupts(state_context) { if let Some(state) = ground::grounded_movement_common_interrupts(state_context) {
return Some(state); return Some(state);
} }
wait::check_input(state_context).or_else(|| dash::check_input(state_context)) wait::check_input(state_context).or_else(|| dash::check_input(state_context)).or_else(|| state::ground_attack::check_interrupt(state_context))
} }
fn on_enter(&mut self, state_context: &mut EnterContext) { fn on_enter(&mut self, state_context: &mut EnterContext) {