tienlen房卡场不能中途离开
This commit is contained in:
parent
1db15bd6f3
commit
10ce982a14
|
@ -591,6 +591,9 @@ func (this *SceneBaseStateTienLen) CanChangeTo(s base.SceneState) bool {
|
|||
|
||||
// 当前状态能否换桌
|
||||
func (this *SceneBaseStateTienLen) CanChangeCoinScene(s *base.Scene, p *base.Player) bool {
|
||||
if s.IsCustom() && s.GetNumOfGames() > 0 {
|
||||
return false
|
||||
}
|
||||
return !p.IsGameing() || s.GetDestroyed() || !s.GetGaming()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue