Fix #222 [ci skip]

In general this isn't a bug or inaccuracy, because in the vanilla it's normal behaviour. But since most of the pause menu entries don't working during the intro, this had to be fixed anyway
This commit is contained in:
biroder 2023-07-14 18:15:21 +03:00 committed by GitHub
parent 5f24ee52b0
commit ab87862646
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1792,7 +1792,7 @@ impl Scene for GameScene {
state.next_scene = Some(Box::new(TitleScene::new()));
}
if self.player1.controller.trigger_menu_ok() {
if self.player1.controller.trigger_menu_ok() || self.player1.controller.trigger_menu_pause() {
state.next_scene = Some(Box::new(TitleScene::new()));
}
}