竞技馆牌局记录
This commit is contained in:
parent
cb4b51b4aa
commit
1b67a44d63
|
@ -291,6 +291,13 @@ func CSDestroyRoom(s *netlib.Session, packetid int, data interface{}, sid int64)
|
|||
send()
|
||||
return nil
|
||||
}
|
||||
if scene.ExtraData != nil {
|
||||
gs, ok := scene.ExtraData.(base.GameScene)
|
||||
if ok {
|
||||
gs.SceneDestroy(true)
|
||||
return nil
|
||||
}
|
||||
}
|
||||
scene.Destroy(true)
|
||||
return nil
|
||||
}
|
||||
|
|
|
@ -2105,7 +2105,7 @@ func (this *TienLenSceneData) SendFirstGiveTimeItem(p *base.Player) {
|
|||
|
||||
// SaveCustomLog 保存竞技馆对局记录
|
||||
func (this *TienLenSceneData) SaveCustomLog() {
|
||||
if this.CustomLogSave || !this.IsCustom() {
|
||||
if this.CustomLogSave || !this.IsCustom() || this.NumOfGames == 0 {
|
||||
return
|
||||
}
|
||||
this.CustomLogSave = true
|
||||
|
|
Loading…
Reference in New Issue