Tibug + Linux

This commit is contained in:
Marc-Eric Martel
2023-11-28 19:19:24 -05:00
parent 12ef911e79
commit 34ad4724f2
3 changed files with 5 additions and 5 deletions

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;