2024-06-26 23:15:42 +00:00
|
|
|
using MU3.User;
|
|
|
|
using MU3.Util;
|
|
|
|
|
|
|
|
namespace MU3;
|
|
|
|
|
2024-07-04 12:39:11 +00:00
|
|
|
class patch_ANM_SWH_Profile: ANM_SWH_Profile {
|
2024-06-26 23:15:42 +00:00
|
|
|
public extern void orig_setUpLogin();
|
|
|
|
|
|
|
|
// Fixes login display
|
|
|
|
public new void setUpLogin() {
|
2024-07-02 01:35:45 +00:00
|
|
|
UserManager instance = Singleton<UserManager>.instance;
|
2024-06-26 23:15:42 +00:00
|
|
|
var prev = instance.userPreview;
|
|
|
|
var temp = prev;
|
|
|
|
temp.dispRating = 0;
|
|
|
|
instance.userPreview = temp;
|
|
|
|
orig_setUpLogin();
|
|
|
|
instance.userPreview = prev;
|
2024-07-02 01:35:45 +00:00
|
|
|
}
|
2024-06-26 23:15:42 +00:00
|
|
|
}
|