fix:中途允许离开
This commit is contained in:
parent
8f7df3ff41
commit
643466cf87
|
@ -777,7 +777,7 @@ func (this *SceneWaitPlayerStateTienLen) CanChangeTo(s base.SceneState) bool {
|
|||
|
||||
// 当前状态能否换桌
|
||||
func (this *SceneWaitPlayerStateTienLen) CanChangeCoinScene(s *base.Scene, p *base.Player) bool {
|
||||
if s.IsMatchScene() || (s.IsCustom() && s.GetNumOfGames() > 0) {
|
||||
if s.IsMatchScene() {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
|
|
Loading…
Reference in New Issue