Update osu.Game.Rulesets.Taiko/UI/DrawableTaikoMascot.cs

Co-Authored-By: Bartłomiej Dach <dach.bartlomiej@gmail.com>
This commit is contained in:
Craftplacer 2020-04-27 22:27:03 +02:00 committed by GitHub
parent c049302650
commit 5caa4dedc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ private TaikoMascotTextureAnimation getStateDrawable(TaikoMascotAnimationState s
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}");
}
}