mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 14:17:06 +09:00
Standardise usages of exceptions.
This commit is contained in:
@ -109,7 +109,7 @@ namespace osu.Game.Rulesets.Taiko.Replays
|
||||
Frames.Add(new ReplayFrame(h.StartTime, null, null, button));
|
||||
}
|
||||
else
|
||||
throw new Exception("Unknown hit object type.");
|
||||
throw new InvalidOperationException("Unknown hit object type.");
|
||||
|
||||
Frames.Add(new ReplayFrame(endTime + KEY_UP_DELAY, null, null, ReplayButtonState.None));
|
||||
|
||||
|
Reference in New Issue
Block a user