Combo: Launch the correct game (#423)

- [x] no changelog update needed
This commit is contained in:
Corwin 2023-04-26 01:41:14 +01:00 committed by GitHub
commit 5f745d9409
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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,