寻宝:单排玩家强退

This commit is contained in:
luying
2021-08-17 17:45:52 +08:00
parent e81a9b67db
commit a785644cbb
5 changed files with 22 additions and 3 deletions

View File

@@ -209,7 +209,7 @@ export class EntryHandler {
await leaveGuildChannel(roleId, sid, guildCode);
RoleModel.updateRoleInfo(roleId, { quitTime: nowSeconds() });
if(teamCode) { // 如果有寻宝中的队伍,那么等于战败
await setComBtlOnUserLeave(roleId, teamCode)
setComBtlOnUserLeave(roleId, teamCode)
}
}