mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Added check on repeated commands on scheduler
This commit is contained in:
@@ -59,7 +59,7 @@ export function GET(callback: CallableFunction, uri: string, options?: { time?:
|
||||
const result = JSON.parse(xmlHttp.responseText);
|
||||
lastUpdateTimes[uri] = callback(result);
|
||||
|
||||
if (result.frameRate && result.load)
|
||||
if (result.frameRate !== undefined && result.load !== undefined)
|
||||
getServerStatusPanel().update(result.frameRate, result.load);
|
||||
}
|
||||
} else if (xmlHttp.status == 401) {
|
||||
|
||||
Reference in New Issue
Block a user