Compare commits
2 Commits
a9de61a96a
...
c0941e43e7
Author | SHA1 | Date |
---|---|---|
|
c0941e43e7 | |
|
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