mu3-mods/NaiveRating/MU3/patch_ANM_SWH_Profile.cs
2024-07-04 21:39:11 +09:00

19 lines
468 B
C#

using MU3.User;
using MU3.Util;
namespace MU3;
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;
var prev = instance.userPreview;
var temp = prev;
temp.dispRating = 0;
instance.userPreview = temp;
orig_setUpLogin();
instance.userPreview = prev;
}
}