mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 08:52:55 +08:00
Use another argument exception
This commit is contained in:
parent
d47e414fb1
commit
e534d59c80
@ -117,7 +117,7 @@ namespace osu.Game.Rulesets.Mania.Replays
|
||||
}
|
||||
}
|
||||
|
||||
throw new InvalidOperationException("Special key index too high");
|
||||
throw new ArgumentException("Special key index is too high.", nameof(specialOffset));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user