Fix APIMod storing bindables instead of value

This commit is contained in:
Dan Balasescu 2022-02-24 17:01:11 +09:00
parent 328166f0d5
commit 2acaffd5e7

View File

@ -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));
}
}