From 146146f4b9b0e61d9ac73bcceba002d53b8fb833 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 7 Nov 2022 19:12:55 +0000 Subject: [PATCH] Format Rust code using rustfmt --- src/hitbox_visualizer/mod.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/hitbox_visualizer/mod.rs b/src/hitbox_visualizer/mod.rs index 83989c8..7ee3338 100644 --- a/src/hitbox_visualizer/mod.rs +++ b/src/hitbox_visualizer/mod.rs @@ -172,9 +172,11 @@ pub unsafe fn get_command_flag_cat(module_accessor: &mut app::BattleObjectModule // Pause Effect AnimCMD if hitbox visualization is active // Keep effects on for missed tech effect - MotionAnimcmdModule::set_sleep_effect(module_accessor, + MotionAnimcmdModule::set_sleep_effect( + module_accessor, !(*FIGHTER_STATUS_KIND_CATCH..=*FIGHTER_STATUS_KIND_TREAD_FALL).contains(&status_kind) - && status_kind != FIGHTER_STATUS_KIND_DOWN); + && status_kind != FIGHTER_STATUS_KIND_DOWN, + ); EffectModule::set_visible_kind(module_accessor, Hash40::new("sys_shield"), false); EffectModule::kill_kind(module_accessor, Hash40::new("sys_shield"), false, true);