删除测试代码

This commit is contained in:
by 2024-10-17 14:18:48 +08:00
parent d2c6d702e8
commit 79636e8619
2 changed files with 12 additions and 15 deletions

View File

@ -409,10 +409,9 @@ func (this *TienLenSceneData) BroadcastOpPos() {
if B < 0 {
isWin = false
}
isWin = true
/* if this.WGCreateScene.GetCloseCtrl() {
isWin = true
}*/
if this.WGCreateScene.GetCloseCtrl() {
isWin = true
}
isTienLenYule := this.IsTienLenYule()
pack := &tienlen.SCTienLenAIData{
BombNum: 0, //炸弹数量

View File

@ -994,17 +994,15 @@ func (this *SceneHandCardStateTienLen) OnEnter(s *base.Scene) {
if len(sceneEx.testPokers) > 1 {
sceneEx.SendHandCardOdds()
} else {
// 关闭调控发牌
sceneEx.SendHandCard_Match(true)
/* if sceneEx.WGCreateScene.GetCloseCtrl() {
sceneEx.SendHandCard_Match(true)
} else {
if sceneEx.IsMatchScene() || sceneEx.IsCustom() {
sceneEx.SendHandCard_Match(false)
} else {
sceneEx.SendHandCardOdds()
}
}*/
if sceneEx.WGCreateScene.GetCloseCtrl() {
sceneEx.SendHandCard_Match(true)
} else {
if sceneEx.IsMatchScene() || sceneEx.IsCustom() {
sceneEx.SendHandCard_Match(false)
} else {
sceneEx.SendHandCardOdds()
}
}
}
}