forked from akanyan/mu3-mods
chore: cleanup
This commit is contained in:
@ -5,17 +5,17 @@ using MU3.Util;
|
||||
|
||||
namespace MU3;
|
||||
|
||||
public class patch_ANM_SWH_Profile : ANM_SWH_Profile {
|
||||
public class patch_ANM_SWH_Profile: ANM_SWH_Profile {
|
||||
public extern void orig_setUpLogin();
|
||||
|
||||
// Fixes login display
|
||||
public new void setUpLogin() {
|
||||
UserManager instance = Singleton<UserManager>.instance;
|
||||
UserManager instance = Singleton<UserManager>.instance;
|
||||
var prev = instance.userPreview;
|
||||
var temp = prev;
|
||||
temp.dispRating = 0;
|
||||
instance.userPreview = temp;
|
||||
orig_setUpLogin();
|
||||
instance.userPreview = prev;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user