Browse Source

Fixed the options units button not working

tags/v1.0.0
Fen Dweller 6 years ago
parent
commit
d6855e4494
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      game.js

+ 2
- 0
game.js View File

@@ -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!



Loading…
Cancel
Save