mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Remove conditional compilation symbols for such case
This commit is contained in:
parent
85b8b00b8c
commit
d034728443
@ -57,11 +57,7 @@ namespace osu.Game.Tests.Visual.UserInterface
|
||||
}
|
||||
};
|
||||
|
||||
#if NET5_0
|
||||
var coverTypes = Enum.GetValues<BeatmapSetCoverType>();
|
||||
#else
|
||||
var coverTypes = Enum.GetValues(typeof(BeatmapSetCoverType)).Cast<BeatmapSetCoverType>();
|
||||
#endif
|
||||
|
||||
for (int i = 0; i < 25; i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user