diff --git a/index.html b/index.html
index c8f1e540..d3654ee6 100644
--- a/index.html
+++ b/index.html
@@ -5150,6 +5150,7 @@
+
diff --git a/modules/ui/world-configurator.js b/modules/ui/world-configurator.js
index 6ebb2fb0..0f25057e 100644
--- a/modules/ui/world-configurator.js
+++ b/modules/ui/world-configurator.js
@@ -113,10 +113,11 @@ function editWorld() {
function toKilometer(v) {
if (unit === "km") return v;
- else if (unit === "mi") return v * 1.60934;
- else if (unit === "lg") return v * 5.556;
- else if (unit === "vr") return v * 1.0668;
- else if (unit === "nmi") return v * 1.852;
+ if (unit === "mi") return v * 1.60934;
+ if (unit === "lg") return v * 4.828;
+ if (unit === "vr") return v * 1.0668;
+ if (unit === "nmi") return v * 1.852;
+ if (unit === "nlg") return v * 5.556;
return 0; // 0 if distanceUnitInput is a custom unit
}