fix:中途允许离开

This commit is contained in:
sk 2024-12-12 11:07:32 +08:00
parent 8f7df3ff41
commit 643466cf87
1 changed files with 1 additions and 1 deletions

View File

@ -777,7 +777,7 @@ func (this *SceneWaitPlayerStateTienLen) CanChangeTo(s base.SceneState) bool {
// 当前状态能否换桌 // 当前状态能否换桌
func (this *SceneWaitPlayerStateTienLen) CanChangeCoinScene(s *base.Scene, p *base.Player) 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 false
} }
return true return true