Merge branch 'spark'

This commit is contained in:
Vladislav Khorev committed 2026-03-05 09:10:38 +03:00
commit cca1d0ece2
5 files changed
+46 -11

No files matched your search

+8 -2
View File
@@ -180,6 +180,12 @@ namespace ZL
std::cerr << "Sent JOIN: " << joinMsg << std::endl;
}
space.boxCoordsArr.clear();
space.boxRenderArr.clear();
//space.boxLabels.clear();
space.boxAlive.clear();
space.serverBoxesApplied = false;
lastTickCount = 0;
spaceGameStarted = 1;
};
@@ -445,12 +451,12 @@ namespace ZL
render();
if (networkClient) {
#ifndef NETWORK
//#ifndef NETWORK
auto localClient = dynamic_cast<ZL::LocalClient*>(networkClient.get());
if (localClient) {
localClient->setLocalPlayerState(Environment::shipState);
}
#endif
//#endif
networkClient->Poll();
}
mainThreadHandler.processMainThreadTasks();