mirror of https://github.com/ppy/osu
Fix APIMod storing bindables instead of value
This commit is contained in:
parent
328166f0d5
commit
2acaffd5e7
|
@ -42,7 +42,7 @@ public APIMod(Mod mod)
|
|||
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