mirror of
https://github.com/ppy/osu
synced 2024-12-25 00:02:48 +00:00
Use InvalidOperationException
This commit is contained in:
parent
d385c35955
commit
2379b665e3
@ -52,7 +52,7 @@ namespace osu.Game.Tests.Visual
|
|||||||
get
|
get
|
||||||
{
|
{
|
||||||
if (UseOnlineAPI)
|
if (UseOnlineAPI)
|
||||||
throw new Exception($"Using the {nameof(OsuTestScene)} dummy API is not supported when {nameof(UseOnlineAPI)} is true");
|
throw new InvalidOperationException($"Using the {nameof(OsuTestScene)} dummy API is not supported when {nameof(UseOnlineAPI)} is true");
|
||||||
|
|
||||||
return dummyAPI;
|
return dummyAPI;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user