修复寻宝等
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user