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

use SongSelect's SelectedMods property to ensure it exists

This commit is contained in:
LeNitrous 2019-05-03 16:51:33 +08:00
parent 009eaa647a
commit 31341bfeb1

View File

@ -224,7 +224,7 @@ namespace osu.Game.Screens.Select
if (Footer != null) if (Footer != null)
{ {
Footer.AddButton(new FooterButtonMods(selectedMods), @"mods", colours.Yellow, ModSelect, Key.F1); Footer.AddButton(new FooterButtonMods(SelectedMods), @"mods", colours.Yellow, ModSelect, Key.F1);
Footer.AddButton(new FooterButtonRandom(), @"random", colours.Green, triggerRandom, Key.F2); Footer.AddButton(new FooterButtonRandom(), @"random", colours.Green, triggerRandom, Key.F2);
Footer.AddButton(new FooterButton(), @"options", colours.Blue, BeatmapOptions, Key.F3); Footer.AddButton(new FooterButton(), @"options", colours.Blue, BeatmapOptions, Key.F3);