From d6855e44945cb618ae04015034cd29fb0dadc9b6 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Mon, 31 Dec 2018 23:05:07 -0600 Subject: [PATCH] Fixed the options units button not working --- game.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/game.js b/game.js index ba17907..cc68536 100644 --- a/game.js +++ b/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!