forked from akanyan/mu3-mods
feat: reachable rating
This commit is contained in:
@ -7,8 +7,8 @@ namespace MU3.User;
|
||||
public static class patch_UserUtil {
|
||||
public extern static float orig_toRatingFloat(int rating);
|
||||
public static float toRatingFloat(int rating) {
|
||||
if(NaiveRating.IsEnabled()) {
|
||||
return orig_toRatingFloat(NaiveRating.Get());
|
||||
if(CustomRating.IsEnabled()) {
|
||||
return orig_toRatingFloat(CustomRating.Get());
|
||||
} else {
|
||||
return orig_toRatingFloat(rating);
|
||||
}
|
||||
|
Reference in New Issue
Block a user