Remove a check which blocks players from being updated

Oops! teehee SmileW
This commit is contained in:
Sanae 2022-08-10 16:06:49 -06:00 committed by Sanae
parent d3b1935899
commit b3a30b09f7
2 changed files with 1 additions and 5 deletions

View file

@ -238,8 +238,6 @@ class Client {
// --- Game Info ---
bool mIsInGame = false;
bool isClientCaptured = false;
bool isSentCaptureInf = false;

View file

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