1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 14:13:20 +08:00

Add support for Bindable int in config

This commit is contained in:
Dean Herbert 2021-02-04 15:10:56 +09:00
parent e3d323989c
commit 76cfeae7e9

View File

@ -29,6 +29,10 @@ namespace osu.Game.Online.API
primitiveFormatter.Serialize(ref writer, d.Value, options);
break;
case Bindable<int> i:
primitiveFormatter.Serialize(ref writer, i.Value, options);
break;
case Bindable<float> f:
primitiveFormatter.Serialize(ref writer, f.Value, options);
break;