mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-29 23:15:56 -04:00
Merge remote-tracking branch 'origin/testing' into testing
This commit is contained in:
@@ -2788,7 +2788,7 @@ void CentralServer::update()
|
||||
int webUpdateIntervalSeconds = ConfigCentralServer::getWebUpdateIntervalSeconds();
|
||||
|
||||
// assuming that every 5th frame is ~1 second, we can multiply and then check
|
||||
if ( webUpdateIntervalSeconds && (++apiLoopCount > (webUpdateIntervalSeconds*5)) )
|
||||
if ( webUpdateIntervalSeconds && (++apiLoopCount > (webUpdateIntervalSeconds*1000)) )
|
||||
{
|
||||
apiLoopCount = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user