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

Expose Mod.UsesDefaultConfiguration

This commit is contained in:
Dan Balasescu 2023-12-29 17:16:16 +09:00
parent b163df42c2
commit a6313c4ee8
No known key found for this signature in database

View File

@ -195,7 +195,7 @@ namespace osu.Game.Rulesets.Mods
/// <summary>
/// Whether all settings in this mod are set to their default state.
/// </summary>
protected virtual bool UsesDefaultConfiguration => SettingsBindables.All(s => s.IsDefault);
public virtual bool UsesDefaultConfiguration => SettingsBindables.All(s => s.IsDefault);
/// <summary>
/// Creates a copy of this <see cref="Mod"/> initialised to a default state.