launch the correct game

This commit is contained in:
Corwin 2023-04-26 01:34:25 +01:00
parent 400abe5b31
commit d08500d9c3
No known key found for this signature in database

View file

@ -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,