fix 奇遇无法刷出

This commit is contained in:
luying
2021-01-09 15:35:05 +08:00
parent 6fae9646c9
commit be77ffab3f
5 changed files with 16 additions and 7 deletions

View File

@@ -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);
}