diff --git a/index.htm b/index.htm index 0067d1a..56a04f4 100644 --- a/index.htm +++ b/index.htm @@ -806,7 +806,7 @@ } for (var i = 0; i < City.length; i++) { if (City[i].player) { - UpdateAround(City[i].row, City[i].col, 1); + UpdateAround(City[i].row, City[i].col, 2); } } } @@ -1803,13 +1803,17 @@ cities: document.getElementById("cities"), HighlightTechOptions: function(bool) { if (bool) {this.techOptions.style.backgroundColor = "red";} - else {this.techOptions.style.backgroundColor = "";} + else {this.techOptions.style.backgroundColor = "gray";} }, HighlightWonderOptions: function(bool) { if (bool) {this.wonderOptions.style.backgroundColor = "red";} - else {this.wonderOptions.style.backgroundColor = "";} + else {this.wonderOptions.style.backgroundColor = "gray";} }, - ClearOptions: function(select) { for (var i = select.options.length-1; i >= 0; i--) {select.remove(i);} } + ClearOptions: function(select) { + for (var i = select.options.length-1; i >= 0; i--) { + select.remove(i); + } + } }; function KeyPressHandler(event) { @@ -1860,8 +1864,8 @@ } function NextTech() { - for(C=0; C