mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
launch the correct game
This commit is contained in:
parent
400abe5b31
commit
d08500d9c3
|
@ -35,7 +35,7 @@ impl Game {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn from_index(index: i32) -> Game {
|
fn from_index(index: i32) -> Game {
|
||||||
match index.rem_euclid(3) {
|
match index.rem_euclid(4) {
|
||||||
0 => Game::TheHatChoosesTheWizard,
|
0 => Game::TheHatChoosesTheWizard,
|
||||||
1 => Game::ThePurpleNight,
|
1 => Game::ThePurpleNight,
|
||||||
2 => Game::HyperspaceRoll,
|
2 => Game::HyperspaceRoll,
|
||||||
|
|
Loading…
Reference in a new issue