From 0df3e0938c566f7d776930b1cd79966da1b4403b Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Wed, 11 Sep 2024 17:21:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AB=9E=E6=8A=80=E9=A6=86=E6=88=BF=E4=B8=BB?= =?UTF-8?q?=E4=BB=98=E8=B4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- worldsrv/action_game.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldsrv/action_game.go b/worldsrv/action_game.go index fbc7795..360feeb 100644 --- a/worldsrv/action_game.go +++ b/worldsrv/action_game.go @@ -1344,7 +1344,7 @@ func CSCreatePrivateRoomHandler(s *netlib.Session, packetId int, data interface{ return nil } - if cfg.GetCostType() == 2 { + if costType == 2 { sp.CostPayment(scene, p) }