forked from akanyan/mu3-mods
16 lines
501 B
C#
16 lines
501 B
C#
|
#pragma warning disable CS0626
|
||
|
#pragma warning disable CS0649
|
||
|
#pragma warning disable IDE0051
|
||
|
#pragma warning disable IDE1006
|
||
|
|
||
|
using MU3.Game;
|
||
|
|
||
|
namespace MU3.User;
|
||
|
|
||
|
public class patch_UserManager: UserManager {
|
||
|
public extern void orig_updateUserRating(SessionInfo sessionInfo, SessionResult result);
|
||
|
public new void updateUserRating(SessionInfo sessionInfo, SessionResult result) {
|
||
|
NaiveRating.PrevRating = NaiveRating.Get();
|
||
|
orig_updateUserRating(sessionInfo, result);
|
||
|
}
|
||
|
}
|