Compare commits
2 Commits
759c989719
...
053db5b83a
Author | SHA1 | Date |
---|---|---|
|
053db5b83a | |
|
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