Parcourir la source

Fixed the options units button not working

tags/v1.0.0
Fen Dweller il y a 6 ans
Parent
révision
d6855e4494
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. +2
    -0
      game.js

+ 2
- 0
game.js Voir le fichier

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



Chargement…
Annuler
Enregistrer