From e2095d6878e81b1068d0e95be42338ea5204f402 Mon Sep 17 00:00:00 2001 From: by <123456@qq.com> Date: Thu, 19 Dec 2024 18:02:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E5=8F=B0=E8=A1=A5=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- worldsrv/trascate_webapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldsrv/trascate_webapi.go b/worldsrv/trascate_webapi.go index 9150144..cf3e163 100644 --- a/worldsrv/trascate_webapi.go +++ b/worldsrv/trascate_webapi.go @@ -2276,7 +2276,7 @@ func init() { retFail("购买记录状态修改失败") return } - if player != nil { + if player != nil || (player != nil && player.IsOffline()) { player.DoShopInfo(info, false) // 邀请积分 InviteTask(msg.Platform, player.PSnId, info.SnId, common.InviteScoreTypePay, int64(info.ConsumeNum))