This commit is contained in:
MarcEricMartel
2023-11-27 16:43:18 -05:00
parent e8ca08ecab
commit 10b8d77734
2 changed files with 7 additions and 5 deletions

View File

@@ -225,7 +225,6 @@ void Server::Run() {
break;
case SYNC:
if (Deserialize(&sync, pck, &bsize)) {}
//m_nsync = true;
break;
default: break;
}
@@ -234,7 +233,7 @@ void Server::Run() {
if (conn->m_nsync) {
conn->Run(m_world);
conn->sendPacks(m_sock_udp, m_players);
conn->sendPacks(m_sock_udp, m_players, 0);
}
}
}