Fixed while true loop

This commit is contained in:
WolverinDEV 2021-01-29 09:47:19 +01:00
parent 678f5e0a6b
commit c28f779484

View File

@ -662,7 +662,7 @@ void QueryServer::tick_executor() {
auto current_timestamp = std::chrono::system_clock::now();
if(current_timestamp > this->tick_next_client_timestamp) {
this->tick_next_client_timestamp = current_timestamp;
this->tick_next_client_timestamp = current_timestamp + std::chrono::milliseconds{500};
tick_clients = true;
} else {
tick_clients = false;