From 6c38db04eed786f67ffc1048073267c5351500d7 Mon Sep 17 00:00:00 2001 From: Ivan Pavluk Date: Tue, 4 Dec 2018 21:48:22 +0700 Subject: [PATCH] Fix switch statement order in taiko judgements --- .../Judgements/TaikoDrumRollTickJudgement.cs | 4 ++-- osu.Game.Rulesets.Taiko/Judgements/TaikoJudgement.cs | 4 ++-- osu.Game.Rulesets.Taiko/Judgements/TaikoSwellJudgement.cs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/osu.Game.Rulesets.Taiko/Judgements/TaikoDrumRollTickJudgement.cs b/osu.Game.Rulesets.Taiko/Judgements/TaikoDrumRollTickJudgement.cs index b2adf45bab..0ccc66877c 100644 --- a/osu.Game.Rulesets.Taiko/Judgements/TaikoDrumRollTickJudgement.cs +++ b/osu.Game.Rulesets.Taiko/Judgements/TaikoDrumRollTickJudgement.cs @@ -24,10 +24,10 @@ namespace osu.Game.Rulesets.Taiko.Judgements { switch(result) { - default: - return 0; case HitResult.Great: return 0.0000003; + default: + return 0; } } } diff --git a/osu.Game.Rulesets.Taiko/Judgements/TaikoJudgement.cs b/osu.Game.Rulesets.Taiko/Judgements/TaikoJudgement.cs index 244a00ffb9..c3b603746b 100644 --- a/osu.Game.Rulesets.Taiko/Judgements/TaikoJudgement.cs +++ b/osu.Game.Rulesets.Taiko/Judgements/TaikoJudgement.cs @@ -19,12 +19,12 @@ namespace osu.Game.Rulesets.Taiko.Judgements { switch (result) { - default: - return 0; case HitResult.Good: return 100; case HitResult.Great: return 300; + default: + return 0; } } diff --git a/osu.Game.Rulesets.Taiko/Judgements/TaikoSwellJudgement.cs b/osu.Game.Rulesets.Taiko/Judgements/TaikoSwellJudgement.cs index ca89d4d0e5..7c525bba6c 100644 --- a/osu.Game.Rulesets.Taiko/Judgements/TaikoSwellJudgement.cs +++ b/osu.Game.Rulesets.Taiko/Judgements/TaikoSwellJudgement.cs @@ -13,10 +13,10 @@ namespace osu.Game.Rulesets.Taiko.Judgements { switch(result) { - default: - return 0; case HitResult.Miss: return -0.65; + default: + return 0; } } }