tienlen结算后可以离开房间
This commit is contained in:
parent
84a9e39a26
commit
30cd6ef592
|
@ -591,7 +591,7 @@ func (this *SceneBaseStateTienLen) CanChangeTo(s base.SceneState) bool {
|
||||||
|
|
||||||
// 当前状态能否换桌
|
// 当前状态能否换桌
|
||||||
func (this *SceneBaseStateTienLen) CanChangeCoinScene(s *base.Scene, p *base.Player) 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) {
|
func (this *SceneBaseStateTienLen) OnEnter(s *base.Scene) {
|
||||||
|
|
Loading…
Reference in New Issue