save
This commit is contained in:
parent
47f9076af5
commit
2180f94d30
@ -119,9 +119,10 @@ func (cm *ChatMgr) ProcGuildChat(p *Player, msg *cs.CMSendChatMsg) {
|
||||
if msgRec, exists := cm.guildMsgRec[guildId]; exists {
|
||||
msgRec.AddChatMsg(chatMsg)
|
||||
} else {
|
||||
cm.guildMsgRec[guildId] = &ChatMsgRec{
|
||||
CurrID: cm.guildMsgId,
|
||||
}
|
||||
newMsgRec := &ChatMsgRec{}
|
||||
newMsgRec.CurrID = cm.guildMsgId
|
||||
newMsgRec.AddChatMsg(chatMsg)
|
||||
cm.guildMsgRec[guildId] = newMsgRec
|
||||
}
|
||||
|
||||
// TraverseMember
|
||||
|
Loading…
x
Reference in New Issue
Block a user