From b3a30b09f79508034d3a060de9aa47736f73d466 Mon Sep 17 00:00:00 2001 From: Sanae Date: Wed, 10 Aug 2022 16:06:49 -0600 Subject: [PATCH] Remove a check which blocks players from being updated Oops! teehee SmileW --- include/server/Client.hpp | 2 -- source/server/Client.cpp | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) 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);