tienlen结算后可以离开房间

This commit is contained in:
sk 2024-10-29 17:44:38 +08:00
parent 84a9e39a26
commit 30cd6ef592
1 changed files with 1 additions and 1 deletions

View File

@ -591,7 +591,7 @@ func (this *SceneBaseStateTienLen) CanChangeTo(s base.SceneState) bool {
// 当前状态能否换桌
func (this *SceneBaseStateTienLen) CanChangeCoinScene(s *base.Scene, p *base.Player) bool {
return !p.IsGameing() || s.GetDestroyed()
return !p.IsGameing() || s.GetDestroyed() || !s.GetGaming()
}
func (this *SceneBaseStateTienLen) OnEnter(s *base.Scene) {