From 4a5dea8772819acc2fb76d71f7645b2da1e428e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Paulo?= Date: Fri, 20 Dec 2024 12:45:13 -0300 Subject: [PATCH] Update protocolgame.cpp --- src/server/network/protocol/protocolgame.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/network/protocol/protocolgame.cpp b/src/server/network/protocol/protocolgame.cpp index 11071ef8..a9de7dbf 100644 --- a/src/server/network/protocol/protocolgame.cpp +++ b/src/server/network/protocol/protocolgame.cpp @@ -7434,7 +7434,7 @@ void ProtocolGame::sendPodiumWindow(const std::shared_ptr &podium, const P } void ProtocolGame::sendUpdatedVIPStatus(uint32_t guid, VipStatus_t status) { - if (oldProtocol) { + if (oldProtocol && status == VipStatus_t::TRAINING) { return; } @@ -7446,7 +7446,7 @@ void ProtocolGame::sendUpdatedVIPStatus(uint32_t guid, VipStatus_t status) { } void ProtocolGame::sendVIP(uint32_t guid, const std::string &name, const std::string &description, uint32_t icon, bool notify, VipStatus_t status) { - if (oldProtocol) { + if (oldProtocol && status == VipStatus_t::TRAINING) { return; }