2024-06-26 23:15:42 +00:00
|
|
|
using MU3.DB;
|
|
|
|
|
|
|
|
namespace MU3.Data;
|
|
|
|
|
2024-07-04 12:39:11 +00:00
|
|
|
class patch_GameData: GameData {
|
2024-06-26 23:15:42 +00:00
|
|
|
public extern static RatingColorID orig_getRatingColorIDFromRating100(int rating100);
|
|
|
|
public static new RatingColorID getRatingColorIDFromRating100(int rating100) {
|
2024-07-07 14:47:46 +00:00
|
|
|
if(NaiveRating.IsEnabled()) {
|
|
|
|
return orig_getRatingColorIDFromRating100(NaiveRating.Get());
|
|
|
|
} else {
|
|
|
|
return orig_getRatingColorIDFromRating100(rating100);
|
|
|
|
}
|
2024-06-26 23:15:42 +00:00
|
|
|
}
|
|
|
|
}
|