ah.
This commit is contained in:
@@ -154,7 +154,6 @@ int Server::Ready() {
|
||||
Log(str.append(play.name).append(" SID: [").append(std::to_string(log->sid)).append("]")
|
||||
.append(" ID: [").append(std::to_string(play.id)).append("]")
|
||||
.append(" TID: [").append(std::to_string(play.tid)).append("]"), false, false);
|
||||
|
||||
play.tid = log->tid;
|
||||
|
||||
sendPack<GameInfo>(sock, &m_game, &m_buf);
|
||||
@@ -165,7 +164,7 @@ int Server::Ready() {
|
||||
sendPack<PlayerInfo>(sock, player->getInfo(), &m_buf); // et envoyer les infos des joueurs distants au nouveau joueur.
|
||||
}
|
||||
|
||||
m_players[log->sid] = std::move(conn);
|
||||
m_players[log->sid] = conn;
|
||||
|
||||
delete log;
|
||||
|
||||
|
Reference in New Issue
Block a user