1
This commit is contained in:
parent
80cccdcea0
commit
ffc4dbbac7
@ -172,6 +172,8 @@ func (this *guild) asyncLeave(accountId string, cb func(int32, string)) {
|
||||
cb(500, "server internal error")
|
||||
return
|
||||
}
|
||||
delete(this.idHash, m.memberId)
|
||||
delete(_guildMgr.memberIdHash, m.memberId)
|
||||
if m.guildJob == constant.GuildMemberLevelLeader {
|
||||
var nextLeader *member
|
||||
this.traverseMembers(
|
||||
@ -206,7 +208,6 @@ func (this *guild) asyncLeave(accountId string, cb func(int32, string)) {
|
||||
return
|
||||
})
|
||||
}
|
||||
delete(this.idHash, m.memberId)
|
||||
}
|
||||
if this.GetMemberNum() <= 0 {
|
||||
f5.GetJsStyleDb().Update(
|
||||
|
Loading…
x
Reference in New Issue
Block a user