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 @@ 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}");
}
}

View File

@ -102,7 +102,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");
}
}
}