mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2025-03-23 14:56:11 +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)]
|
#[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() {
|
if !is_training_mode() {
|
||||||
return original!()(module_accessor, my_int);
|
return original!()(module_accessor, my_int);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue