tienlen开发模式控牌
This commit is contained in:
parent
cfa2c003c2
commit
f8a55ec7ba
|
|
@ -981,12 +981,17 @@ func (this *SceneHandCardStateTienLen) OnEnter(s *base.Scene) {
|
||||||
if rule.TestOpen {
|
if rule.TestOpen {
|
||||||
sceneEx.SendHandCardTest()
|
sceneEx.SendHandCardTest()
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
if len(sceneEx.testPokers) > 1 {
|
||||||
|
sceneEx.SendHandCardOdds()
|
||||||
|
} else {
|
||||||
if sceneEx.IsMatchScene() || sceneEx.IsCustom() {
|
if sceneEx.IsMatchScene() || sceneEx.IsCustom() {
|
||||||
sceneEx.SendHandCard_Match()
|
sceneEx.SendHandCard_Match()
|
||||||
} else {
|
} else {
|
||||||
sceneEx.SendHandCardOdds()
|
sceneEx.SendHandCardOdds()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
for _, seat := range sceneEx.seats {
|
for _, seat := range sceneEx.seats {
|
||||||
if seat != nil {
|
if seat != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue