This commit is contained in:
MarcEricMartel 2023-12-02 09:06:41 -05:00
parent 12ef911e79
commit 62b7719eb4

View File

@ -208,10 +208,9 @@ void Server::Run() {
sync.timer = m_game.countdown;
sendPackTo<Sync>(m_sock_udp, &sync, &m_buf, conn->getAddr());
int timer = m_game.countdown, sync_acc;
int timer = m_game.countdown, sync_acc = 0;
std::chrono::high_resolution_clock::time_point start = std::chrono::high_resolution_clock::now();
Timestamp last = 0;
int sync_acc = 0;
while (!endgame) {
using namespace std::chrono;