1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 20:13:21 +08:00

Merge branch 'taiko-don' of https://github.com/Craftplacer/osu into taiko-don

This commit is contained in:
Craftplacer 2020-04-27 23:19:22 +02:00
commit 6de6f068fd
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ namespace osu.Game.Rulesets.Taiko.UI
return failDrawable;
default:
throw new ArgumentException($"There's no case for animation state ${state} available", nameof(state));
throw new ArgumentOutOfRangeException(nameof(state), $"There's no animation available for state {state}");
}
}

View File

@ -102,7 +102,7 @@ namespace osu.Game.Rulesets.Taiko.UI
return "kiai";
default:
throw new ArgumentException($"There's no case for animation state ${state} available", nameof(state));
throw new ArgumentOutOfRangeException(nameof(state), $"There's no case for animation state {state} available");
}
}
}