14 lines
454 B
C#
14 lines
454 B
C#
using MU3.DB;
|
|
|
|
namespace MU3.Data;
|
|
|
|
class patch_GameData: GameData {
|
|
public extern static RatingColorID orig_getRatingColorIDFromRating100(int rating100);
|
|
public static new RatingColorID getRatingColorIDFromRating100(int rating100) {
|
|
if(NaiveRating.IsEnabled()) {
|
|
return orig_getRatingColorIDFromRating100(NaiveRating.Get());
|
|
} else {
|
|
return orig_getRatingColorIDFromRating100(rating100);
|
|
}
|
|
}
|
|
} |