This commit is contained in:
aozhiwei 2024-04-11 11:06:35 +08:00
parent 1169662eac
commit e308331638

View File

@ -262,6 +262,14 @@ func (this *guild) asyncUpdateOwner(ownerId string, cb func(int32, string)) {
func (this *guild) getOwnerId() string {
ownerId := ""
this.traverseMembers(
func (m *member) bool {
if m.guildJob == constant.GuildMemberLevelLeader {
ownerId = m.memberId
return false
}
return true
})
return ownerId
}