15 lines
355 B
C#
15 lines
355 B
C#
|
#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;
|
||
|
}
|
||
|
}
|