mirror of https://github.com/ppy/osu
Merge branch 'taiko-don' of https://github.com/Craftplacer/osu into taiko-don
This commit is contained in:
commit
6de6f068fd
|
@ -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}");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue