From 1c27b475e0bc999d6631300422c5777c771fd58c Mon Sep 17 00:00:00 2001 From: Jon Cage Date: Thu, 8 Oct 2020 23:47:52 +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). --- 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) {