fix tienlen过牌
This commit is contained in:
parent
6804bf6641
commit
fe3f0a185d
|
@ -1383,7 +1383,7 @@ func (this *ScenePlayerOpStateTienLen) OnPlayerOp(s *base.Scene, p *base.Player,
|
||||||
|
|
||||||
case rule.TienLenPlayerOpPass: //过牌
|
case rule.TienLenPlayerOpPass: //过牌
|
||||||
//当前操作者和上一个操作者是同一个人,必出牌,不能过牌
|
//当前操作者和上一个操作者是同一个人,必出牌,不能过牌
|
||||||
if int32(playerEx.GetPos()) == sceneEx.lastOpPos || sceneEx.lastOpPos != rule.InvalidePos {
|
if int32(playerEx.GetPos()) == sceneEx.lastOpPos || sceneEx.lastOpPos == rule.InvalidePos {
|
||||||
finishFunc()
|
finishFunc()
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue