mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2026-03-14 01:41:42 +00:00
Format Rust code using rustfmt
This commit is contained in:
committed by
GitHub
parent
7f3a8e8674
commit
aea5011a89
@@ -462,9 +462,7 @@ pub unsafe fn handle_effect(
|
||||
|
||||
static CAN_FUTTOBI_BACK_OFFSET: usize = 0x0260f950; // can_futtobi_back, checks if stage allows for star KOs
|
||||
#[skyline::hook(offset = CAN_FUTTOBI_BACK_OFFSET)]
|
||||
pub unsafe fn handle_star_ko(
|
||||
my_long_ptr: &mut u64,
|
||||
) -> bool {
|
||||
pub unsafe fn handle_star_ko(my_long_ptr: &mut u64) -> bool {
|
||||
let ori = original!()(my_long_ptr);
|
||||
if !is_training_mode() {
|
||||
return ori;
|
||||
|
||||
Reference in New Issue
Block a user