1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-28 04:44:06 +00:00

Format Rust code using rustfmt

This commit is contained in:
github-actions[bot] 2022-05-08 20:43:20 +00:00 committed by GitHub
parent 365d8107dc
commit cef391b519
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -220,7 +220,11 @@ unsafe fn buff_sepiroth(
false false
} }
unsafe fn buff_wiifit(module_accessor: &mut app::BattleObjectModuleAccessor, status: i32, percent: f32) -> bool { unsafe fn buff_wiifit(
module_accessor: &mut app::BattleObjectModuleAccessor,
status: i32,
percent: f32,
) -> bool {
if is_buffing(module_accessor) { if is_buffing(module_accessor) {
if frame_counter::should_delay(2_u32, BUFF_DELAY_COUNTER) { if frame_counter::should_delay(2_u32, BUFF_DELAY_COUNTER) {
// Need to wait 2 frames to make sure we stop breathing SFX // Need to wait 2 frames to make sure we stop breathing SFX