From d08500d9c3e3376b523199492745bc15de493acd Mon Sep 17 00:00:00 2001 From: Corwin Date: Wed, 26 Apr 2023 01:34:25 +0100 Subject: [PATCH] launch the correct game --- examples/combo/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/combo/src/lib.rs b/examples/combo/src/lib.rs index 42c9180c..67dd4263 100644 --- a/examples/combo/src/lib.rs +++ b/examples/combo/src/lib.rs @@ -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,