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:
parent
ff6569b93b
commit
a67b7af6ff
1 changed files with 6 additions and 3 deletions
|
@ -282,7 +282,10 @@ pub unsafe fn handle_set_dead_rumble(lua_state: u64) -> u64 {
|
|||
}
|
||||
|
||||
#[skyline::hook(replace = CameraModule::req_quake)]
|
||||
pub unsafe fn handle_req_quake(module_accessor: &mut app::BattleObjectModuleAccessor, my_int: i32) -> u64 {
|
||||
pub unsafe fn handle_req_quake(
|
||||
module_accessor: &mut app::BattleObjectModuleAccessor,
|
||||
my_int: i32,
|
||||
) -> u64 {
|
||||
if !is_training_mode() {
|
||||
return original!()(module_accessor, my_int);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue