Merge branch 'develop' of git.pogorockgames.com:mango-games/server/game into develop

This commit is contained in:
sk 2024-12-20 09:21:40 +08:00
commit e044a590d4
1 changed files with 1 additions and 1 deletions

View File

@ -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))