diff --git a/engine/server/application/CentralServer/src/shared/CentralServer.cpp b/engine/server/application/CentralServer/src/shared/CentralServer.cpp index a6b51427..f7087006 100755 --- a/engine/server/application/CentralServer/src/shared/CentralServer.cpp +++ b/engine/server/application/CentralServer/src/shared/CentralServer.cpp @@ -2786,7 +2786,7 @@ void CentralServer::update() int webUpdateIntervalSeconds = ConfigCentralServer::getWebUpdateIntervalSeconds(); // assuming that every 5th frame is ~1 second, we can multiply and then mod - if ( webUpdateIntervalSeconds > 0 && (loopCount%(webUpdateIntervalSeconds*5) == 0)) + if ( webUpdateIntervalSeconds && (loopCount%(webUpdateIntervalSeconds*5) == 0)) { sendMetricsToWebAPI(); }