mu3-mods/NaiveRating/MU3.User/patch_UserUtil.cs

15 lines
355 B
C#
Raw Normal View History

#pragma warning disable CS0626
#pragma warning disable CS0649
#pragma warning disable IDE0051
#pragma warning disable IDE1006
using MonoMod;
namespace MU3.User;
[MonoModPatch("global::MU3.User.UserUtil")]
public static class patch_UserUtil {
public static float toRatingFloat(int rating) {
return NaiveRating.Get() * 0.01f + 1E-05f;
}
}