modify 继续游戏检查余额大于等于底分
This commit is contained in:
parent
c40b71cbd0
commit
426ee4070c
|
@ -758,7 +758,7 @@ func (this *SceneBaseStateTienLen) OnPlayerOp(s *base.Scene, p *base.Player, opc
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 检查余额
|
// 检查余额
|
||||||
if less || afterCoin <= 0 {
|
if less || afterCoin < int64(sceneEx.GetBaseScore()) {
|
||||||
sceneEx.PlayerLeave(p, common.PlayerLeaveReason_Bekickout, true)
|
sceneEx.PlayerLeave(p, common.PlayerLeaveReason_Bekickout, true)
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue