diff --git a/SQCSim2021/connector.cpp b/SQCSim2021/connector.cpp index 867e36e..b97f4f9 100644 --- a/SQCSim2021/connector.cpp +++ b/SQCSim2021/connector.cpp @@ -97,7 +97,10 @@ int Connector::Connect(const char* srv_addr, std::string name) { pl = new netprot::PlayerInfo(); if (!netprot::Deserialize(pl, pck, &bsize)) ++errors; - else m_players[pl->id] = pl; + else { + m_players[pl->id] = pl; + std::cout << pl->name << std::endl; + } break; case TEAMINF: // TODO: Faire dequoi avec TeamInfo si on fini par avoir des teams.