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

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

View File

@ -100,7 +100,7 @@ private string getStateString(TaikoMascotAnimationState state)
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");
}
}
}