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-01-03 07:44:52 +00:00 committed by GitHub
parent ff6569b93b
commit a67b7af6ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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