浏览代码

Fixed the options units button not working

tags/v1.0.0
Fen Dweller 6 年前
父节点
当前提交
d6855e4494
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      game.js

+ 2
- 0
game.js 查看文件

@@ -5144,6 +5144,8 @@ window.addEventListener('load', function(event) {
document.getElementById("button-reset-custom").addEventListener("click", resetSettings);
document.getElementById("button-load-autosave").addEventListener("click", loadAutosave);

document.getElementById("button-units-options").addEventListener("click", toggle_units_options)

// note to self - the anonymous function is so that
// loadSettings doesn't receive the mouseEvent!



正在加载...
取消
保存