1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 02:22:56 +08:00

Fix weird bool check

Co-authored-by: Dan Balasescu <smoogipoo@smgi.me>
This commit is contained in:
Dean Herbert 2021-02-19 14:46:10 +09:00 committed by GitHub
parent 4504023a23
commit 484968d797
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -172,7 +172,7 @@ namespace osu.Game.Screens.OnlinePlay.Match
Ruleset.Value = selected.Ruleset.Value;
if (selected.AllowedMods.Any() != true)
if (!selected.AllowedMods.Any())
{
UserModsSection?.Hide();
userModsSelectOverlay.Hide();