This commit is contained in:
aozhiwei 2024-07-12 11:59:18 +08:00
parent 29dfbf9b56
commit cc0fbeede5

View File

@ -573,6 +573,12 @@ func (this *team) canMatch(targetT *team) bool {
if this.GetMemberNum() <= 0 || targetT.GetMemberNum() <= 0 {
return false
}
if !this.HasOnlinePlayer() {
return false
}
if !targetT.HasOnlinePlayer() {
return false
}
hasSameUser := false
this.traverseMembers(
func (m common.Player) bool {