Nautical mile option in Units-Editor

In Distance --> Distance Unit.
This commit is contained in:
Ángel Montero Lamas 2024-03-16 20:55:42 +01:00
parent 72b6314d34
commit cd3cd61881
2 changed files with 2 additions and 0 deletions

View file

@ -116,6 +116,7 @@ function editWorld() {
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;
return 0; // 0 if distanceUnitInput is a custom unit
}