mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11: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 {
|
||||
match index.rem_euclid(3) {
|
||||
match index.rem_euclid(4) {
|
||||
0 => Game::TheHatChoosesTheWizard,
|
||||
1 => Game::ThePurpleNight,
|
||||
2 => Game::HyperspaceRoll,
|
||||
|
|
Loading…
Reference in a new issue