Skip to content

Commit

Permalink
Fix wasm build
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepryde committed Jul 28, 2024
1 parent 416dca3 commit db02e62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/screen/title.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ fn on_fade_completed(
next_screen.set(Screen::Playing);
next_state.set(TitleState::Inactive);
}
#[cfg(not(target_family = "wasm"))]
TitleState::ActionExitFadingOut => {
app_exit.send(AppExit::Success);
}
Expand Down

0 comments on commit db02e62

Please sign in to comment.