Jim Babwe

This commit is contained in:
MarcEricMartel
2023-11-24 14:15:40 -05:00
parent bd14cd3962
commit 573316682b
4 changed files with 14 additions and 9 deletions

View File

@@ -201,6 +201,8 @@ void Server::Run() {
sendPack<Sync>(conn->getSock(), &sync, &m_buf);
}
std::cout << players << " players." << std::endl;
while (!endgame) {
for (auto& [key, conn] : m_players) {
conn->getPacks(m_sock_udp);