From 8dabf80aecc4116678198ca0f72354d82404cf91 Mon Sep 17 00:00:00 2001 From: joncage Date: Thu, 8 Oct 2020 23:53:35 +0100 Subject: [PATCH] * Divided the values by 10 as they appear to be a factor of 10 too large for some reason (compared to the system map + EDSM). (#125) --- EDScoutWebUI/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EDScoutWebUI/templates/index.html b/EDScoutWebUI/templates/index.html index 1ea7d56..4c3ffc3 100644 --- a/EDScoutWebUI/templates/index.html +++ b/EDScoutWebUI/templates/index.html @@ -326,7 +326,7 @@ let severityClass = null; let gravityText = null; if (payloadContent.Landable) { - let surfaceGravity = payloadContent.SurfaceGravity + let surfaceGravity = payloadContent.SurfaceGravity/10.0; // Divided the values by 10 as they appear to be a factor of 10 too large for some reason (compared to the system map + EDSM). console.log("Surface gravity: " + surfaceGravity.toString()) if (surfaceGravity >= gravityAlertThresh) {