Skip to content

Commit

Permalink
* Divided the values by 10 as they appear to be a factor of 10 too la…
Browse files Browse the repository at this point in the history
…rge for some reason (compared to the system map + EDSM). (#125)
  • Loading branch information
joncage authored Oct 8, 2020
1 parent 427deca commit 8dabf80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EDScoutWebUI/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8dabf80

Please sign in to comment.