1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 14:17:26 +08:00

Fix parsing of null configuration elements

This commit is contained in:
Dean Herbert 2019-09-04 13:30:46 +09:00
parent 04c2c33c64
commit f655cd4516

View File

@ -77,7 +77,8 @@ namespace osu.Game.Skinning
val = val == "1" ? "true" : "false";
var bindable = new Bindable<TValue>();
bindable.Parse(val);
if (val != null)
bindable.Parse(val);
return bindable;
}
}