Skip to content

Commit

Permalink
swap main_logic and _adv in main.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
callmeclover committed May 15, 2024
1 parent 99b39ee commit 53a0f2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ async fn main() {

#[cfg(feature = "advanced")]
loop {
main_logic(&options, &mut tts, &mut enigo).await;
main_logic_adv(&options, &mut tts, &mut enigo).await;
}
#[not(cfg(feature = "advanced"))]
loop {
main_logic_adv(&options, &mut tts, &mut enigo, &mut gamepad).await;
main_logic(&options, &mut tts, &mut enigo, &mut gamepad).await;
}
}

0 comments on commit 53a0f2f

Please sign in to comment.