mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 03:51:23 +01:00
Nautical mile option in Units-Editor
In Distance --> Distance Unit.
This commit is contained in:
parent
72b6314d34
commit
cd3cd61881
2 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue