1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2024-12-01 17:42:51 +00:00

reduce black screen delay

This commit is contained in:
Alula 2020-09-22 22:43:19 +02:00
parent f16731336e
commit a6b6361842
No known key found for this signature in database
GPG key ID: 3E00485503A1D8BA

View file

@ -151,12 +151,12 @@ impl Scene for TitleScene {
} }
} }
CurrentMenu::StartGame => { CurrentMenu::StartGame => {
if self.tick == 30 { if self.tick == 10 {
state.start_new_game(ctx)?; state.start_new_game(ctx)?;
} }
} }
CurrentMenu::LoadGame => { CurrentMenu::LoadGame => {
if self.tick == 30 { if self.tick == 10 {
state.load_or_start_game(ctx)?; state.load_or_start_game(ctx)?;
} }
} }