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:
parent
365d8107dc
commit
cef391b519
1 changed files with 257 additions and 253 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue