Replace calls to defective Humanizer methods with correct version

This commit is contained in:
Bartłomiej Dach
2022-06-20 15:02:15 +02:00
parent ffa9a83a4f
commit 6f37487528
12 changed files with 24 additions and 23 deletions

View File

@ -3,8 +3,8 @@
#nullable disable
using Humanizer;
using Newtonsoft.Json.Serialization;
using osu.Game.Extensions;
namespace osu.Game.IO.Serialization
{
@ -12,7 +12,7 @@ namespace osu.Game.IO.Serialization
{
protected override string ResolvePropertyName(string propertyName)
{
return propertyName.Underscore();
return propertyName.ToSnakeCase();
}
}
}