BUSY и FREE проходят даже на незалогиненых

This commit is contained in:
2026-01-22 17:22:29 +03:00
parent a43a547631
commit 455b3f384e
3 changed files with 2 additions and 10 deletions

View File

@@ -111,7 +111,8 @@ void CommonClientHandler::slot_sendPacketToAllClients(PacketType packetType)
{
ClientHandler *handler = clientsMap->value(idSocket);
if (!handler->getClient()->getIsLoggedIn()) continue;
if(packetType != PacketType::BUSY && packetType != PacketType::FREE)
if (!handler->getClient()->getIsLoggedIn()) continue;
handler->sendPacketType(packetType);
Logger::instance().log("AllSending " + handler->getClient()->getLogin() + " " + enumToString(packetType));