modify 继续游戏检查余额大于等于底分

This commit is contained in:
sk 2025-01-09 18:05:13 +08:00
parent c40b71cbd0
commit 426ee4070c
1 changed files with 1 additions and 1 deletions

View File

@ -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)
return true
}