Fix bugs and add test

This commit is contained in:
NullifiedJosh
2022-10-06 18:17:33 +08:00
parent 0e38ff07c7
commit 0f6a6287f2
2 changed files with 60 additions and 1 deletions

View File

@ -33,7 +33,7 @@ namespace osu.Game.Rulesets.Catch.UI
: base(ruleset, beatmap, mods)
{
// Check if mods have RelaxMod instance
if (mods.OfType<ModRelax>().Any())
if (mods != null && mods.OfType<ModRelax>().Any())
showMobileMapper = false;
Direction.Value = ScrollingDirection.Down;