Hahaha il manquait les ChunkMods dans netprot :finnadie:
This commit is contained in:
@@ -230,6 +230,9 @@ void Server::Run() {
|
||||
}
|
||||
|
||||
for (auto& [key, conn] : m_players) {
|
||||
|
||||
/* In */
|
||||
|
||||
int deadplayers = 0;
|
||||
std::vector<char*> lsPck;
|
||||
Input in; Chat chat; Sync sync;
|
||||
@@ -254,6 +257,8 @@ void Server::Run() {
|
||||
}
|
||||
lsPck.clear();
|
||||
|
||||
/* Process */
|
||||
|
||||
if (conn->m_nsync) {
|
||||
if (conn->player->AmIDead()) {
|
||||
++deadplayers;
|
||||
@@ -261,6 +266,9 @@ void Server::Run() {
|
||||
continue;
|
||||
}
|
||||
conn->Run(m_world);
|
||||
|
||||
/* Out */
|
||||
|
||||
conn->sendPacks(m_sock_udp, m_players, timer);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user