mirror of
https://github.com/ppy/osu
synced 2024-12-27 17:32:56 +00:00
Fix APIMod storing bindables instead of value
This commit is contained in:
parent
328166f0d5
commit
2acaffd5e7
@ -42,7 +42,7 @@ namespace osu.Game.Online.API
|
||||
var bindable = (IBindable)property.GetValue(mod);
|
||||
|
||||
if (!bindable.IsDefault)
|
||||
Settings.Add(property.Name.Underscore(), bindable);
|
||||
Settings.Add(property.Name.Underscore(), ModUtils.GetSettingUnderlyingValue(bindable));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user