mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
commit
5f745d9409
|
@ -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