This commit is contained in:
MarcEricMartel 2023-12-07 14:24:09 -05:00
parent 58c97587bf
commit 8bfee4a9ff
2 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,6 @@ int Server::Ready() {
play.tid = log->tid;
sendPackTo<GameInfo>(m_sock_udp, &m_game, &m_buf, &sockad);
std::cout << m_game.seed << std::endl;
Connection* conn = new Connection(sock, sockad, *log, play);
m_conns[log->sid] = conn;

View File

@ -94,6 +94,7 @@ int Connector::Connect(const char* srv_addr, std::string name) {
++errors;
else {
m_players[pl->id] = pl;
std::cout << "A challenger appears! " << pl->name << std::endl;
}
break;
case TEAMINF: