From 426ee4070cab29f8dbb4da1891930c92d19f42bb Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Thu, 9 Jan 2025 18:05:13 +0800 Subject: [PATCH] =?UTF-8?q?modify=20=E7=BB=A7=E7=BB=AD=E6=B8=B8=E6=88=8F?= =?UTF-8?q?=E6=A3=80=E6=9F=A5=E4=BD=99=E9=A2=9D=E5=A4=A7=E4=BA=8E=E7=AD=89?= =?UTF-8?q?=E4=BA=8E=E5=BA=95=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gamesrv/tienlen/scenepolicy_tienlen.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamesrv/tienlen/scenepolicy_tienlen.go b/gamesrv/tienlen/scenepolicy_tienlen.go index 0cfff09..db4f1cf 100644 --- a/gamesrv/tienlen/scenepolicy_tienlen.go +++ b/gamesrv/tienlen/scenepolicy_tienlen.go @@ -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 }