fix tienlen过牌

This commit is contained in:
sk 2024-12-25 09:27:41 +08:00
parent 6804bf6641
commit fe3f0a185d
1 changed files with 1 additions and 1 deletions

View File

@ -1383,7 +1383,7 @@ func (this *ScenePlayerOpStateTienLen) OnPlayerOp(s *base.Scene, p *base.Player,
case rule.TienLenPlayerOpPass: //过牌
//当前操作者和上一个操作者是同一个人,必出牌,不能过牌
if int32(playerEx.GetPos()) == sceneEx.lastOpPos || sceneEx.lastOpPos != rule.InvalidePos {
if int32(playerEx.GetPos()) == sceneEx.lastOpPos || sceneEx.lastOpPos == rule.InvalidePos {
finishFunc()
return true
}