ソースを参照

Fix incorrect world height when not using metric and loading from a permalink

master
Fen Dweller 5年前
コミット
1f83752a3e
1個のファイルの変更2行の追加1行の削除
  1. +2
    -1
      macrovision.js

+ 2
- 1
macrovision.js ファイルの表示

@@ -2747,7 +2747,8 @@ document.addEventListener("DOMContentLoaded", () => {
prepareSettings(getUserSettings());

// now that we have this loaded, we can set it

document.querySelector("#options-height-unit").setAttribute("oldUnit", defaultUnits.length[config.units]);
document.querySelector("#options-height-unit").value = defaultUnits.length[config.units];

// ...and then update the world height by setting off an input event


読み込み中…
キャンセル
保存