1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 22:33:05 +08:00

A bit more cleanup

This commit is contained in:
smoogipoo 2017-12-07 15:55:38 +09:00
parent 09f54b06ac
commit bdf283a4e1

View File

@ -43,9 +43,7 @@ namespace osu.Game.IO.Serialization.Converters
var list = new List<T>();
var obj = JObject.Load(reader);
var lookupTable = new List<string>();
serializer.Populate(obj["lookup_table"].CreateReader(), lookupTable);
var lookupTable = serializer.Deserialize<List<string>>(obj["lookup_table"].CreateReader());
foreach (var tok in obj["items"])
{