1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-24 10:54:16 +00:00

Format Rust code using rustfmt

This commit is contained in:
github-actions[bot] 2022-11-07 19:12:55 +00:00 committed by GitHub
parent dba668430c
commit 146146f4b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);