From 95fcaa597725826e80a6df6d1d0be8708e663431 Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Sat, 10 Aug 2024 01:05:28 +0800 Subject: [PATCH] =?UTF-8?q?vip=E5=8D=87=E7=BA=A7=E6=A3=80=E6=9F=A5?= =?UTF-8?q?=E7=9A=AE=E8=82=A4=E7=BA=A2=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- worldsrv/player.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/worldsrv/player.go b/worldsrv/player.go index 15c261c..d586614 100644 --- a/worldsrv/player.go +++ b/worldsrv/player.go @@ -3929,13 +3929,17 @@ func (this *Player) GetVIPLevel() int32 { } } } + var b bool if vip != this.VIP { + b = true //玩家VIP升级 this.SCVIPInfo() - PetMgrSington.CheckSkinRed(this) logger.Logger.Trace("VIP升级!") } this.VIP = vip + if b { + PetMgrSington.CheckSkinRed(this) + } return this.VIP }