修复寻宝等

This commit is contained in:
luying
2022-04-06 11:29:45 +08:00
parent 2dffa0204f
commit 2492920288
4 changed files with 31 additions and 33 deletions

View File

@@ -21,7 +21,7 @@ import { checkPopUpConditionInCreateHero } from '../activity/popUpShopService';
export async function checkTaskWithRoles(serverId: number, roleId: string, sid: string, taskType: TASK_TYPE, roles: RoleType[]) {
for (let role of roles) {
if (role) {
await checkTask(serverId, role.roleId, role.roleId == roleId ? sid : null, taskType, role);
await checkTaskWithRole(serverId, role.roleId, role.roleId == roleId ? sid : null, taskType, role);
}
}
}