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
1 changed files with 1 additions and 1 deletions

View File

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