mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2024-11-29 16:53:00 +00:00
reduce black screen delay
This commit is contained in:
parent
f16731336e
commit
a6b6361842
|
@ -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)?;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue