From 147976f2cc6b7ffed14abaf9aab5d86b282402b0 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Sun, 2 Apr 2023 17:33:51 +0200 Subject: [PATCH] Enums being dumb :D --- youmubot-osu/src/models/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youmubot-osu/src/models/mod.rs b/youmubot-osu/src/models/mod.rs index e0c6242..5fa7077 100644 --- a/youmubot-osu/src/models/mod.rs +++ b/youmubot-osu/src/models/mod.rs @@ -313,8 +313,8 @@ impl Mode { Some(match s { "osu!" => Mode::Std, "osu!taiko" => Mode::Taiko, - "osu!mania" => Mode::Catch, - "osu!catch" => Mode::Mania, + "osu!mania" => Mode::Mania, + "osu!catch" => Mode::Catch, _ => return None, }) }