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 {
|
if msgRec, exists := cm.guildMsgRec[guildId]; exists {
|
||||||
msgRec.AddChatMsg(chatMsg)
|
msgRec.AddChatMsg(chatMsg)
|
||||||
} else {
|
} else {
|
||||||
cm.guildMsgRec[guildId] = &ChatMsgRec{
|
newMsgRec := &ChatMsgRec{}
|
||||||
CurrID: cm.guildMsgId,
|
newMsgRec.CurrID = cm.guildMsgId
|
||||||
}
|
newMsgRec.AddChatMsg(chatMsg)
|
||||||
|
cm.guildMsgRec[guildId] = newMsgRec
|
||||||
}
|
}
|
||||||
|
|
||||||
// TraverseMember
|
// TraverseMember
|
||||||
|
Loading…
x
Reference in New Issue
Block a user