Add controller-driven debug menu

This commit is contained in:
2026-08-30 18:33:40 +02:00
parent 1d5a07324d
commit 8b9e300277
14 changed files with 619 additions and 80 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ pub struct AttackHitbox {
}
pub fn update_active_hitbox_list(script: &FighterAttackScript, list: &mut Vec<usize>, frame: u32) {
*list = script.hitboxes.iter().enumerate().filter(|(i, hb)| {
*list = script.hitboxes.iter().enumerate().filter(|(_, hb)| {
hb.start_frame <= frame && hb.end_frame > frame
}).map(|(i, _)| i).collect()
}