1
This commit is contained in:
parent
29dfbf9b56
commit
cc0fbeede5
@ -573,6 +573,12 @@ func (this *team) canMatch(targetT *team) bool {
|
|||||||
if this.GetMemberNum() <= 0 || targetT.GetMemberNum() <= 0 {
|
if this.GetMemberNum() <= 0 || targetT.GetMemberNum() <= 0 {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
if !this.HasOnlinePlayer() {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
if !targetT.HasOnlinePlayer() {
|
||||||
|
return false
|
||||||
|
}
|
||||||
hasSameUser := false
|
hasSameUser := false
|
||||||
this.traverseMembers(
|
this.traverseMembers(
|
||||||
func (m common.Player) bool {
|
func (m common.Player) bool {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user