fix 奇遇无法刷出
This commit is contained in:
@@ -31,6 +31,6 @@ export async function switchOnFunc(roleId: string, type: number, param: number,
|
||||
}
|
||||
}
|
||||
|
||||
export async function chackFunOpenWhenLogin(role: any, dataFuncs:Array<number>) {
|
||||
await eventOnPlayerLvUp(role.roleId, role.lv, [], dataFuncs);
|
||||
export async function chackFunOpenWhenLogin(role: any, session: BackendSession|FrontendSession) {
|
||||
await switchOnFunc(role.roleId, FUNC_OPT_TYPE.LEVEL_UP, role.lv, session);
|
||||
}
|
||||
Reference in New Issue
Block a user