diff --git a/include/server/Client.hpp b/include/server/Client.hpp index ab3473c..75df45f 100644 --- a/include/server/Client.hpp +++ b/include/server/Client.hpp @@ -238,8 +238,6 @@ class Client { // --- Game Info --- - bool mIsInGame = false; - bool isClientCaptured = false; bool isSentCaptureInf = false; diff --git a/source/server/Client.cpp b/source/server/Client.cpp index dfa2851..bd5dc6c 100644 --- a/source/server/Client.cpp +++ b/source/server/Client.cpp @@ -423,9 +423,7 @@ void Client::readFunc() { switch (curPacket->mType) { case PacketType::PLAYERINF: - if(mIsInGame) { - updatePlayerInfo((PlayerInf*)curPacket); - } + updatePlayerInfo((PlayerInf*)curPacket); break; case PacketType::GAMEINF: updateGameInfo((GameInf*)curPacket);