mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 11:27:24 +08:00
Ensure AvailableMods.Value
is never null
This commit is contained in:
parent
6ee1c35c8f
commit
1acbb87aa6
@ -159,7 +159,7 @@ namespace osu.Game
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Mods available for the current <see cref="Ruleset"/>.
|
/// Mods available for the current <see cref="Ruleset"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public readonly Bindable<Dictionary<ModType, IReadOnlyList<Mod>>> AvailableMods = new Bindable<Dictionary<ModType, IReadOnlyList<Mod>>>();
|
public readonly Bindable<Dictionary<ModType, IReadOnlyList<Mod>>> AvailableMods = new Bindable<Dictionary<ModType, IReadOnlyList<Mod>>>(new Dictionary<ModType, IReadOnlyList<Mod>>());
|
||||||
|
|
||||||
private BeatmapDifficultyCache difficultyCache;
|
private BeatmapDifficultyCache difficultyCache;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user