Skip to content

Commit

Permalink
delete line :)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bon-Monsieur committed Apr 10, 2024
1 parent e45ce3a commit a7caab1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/game_ui/static/js/game_hexia.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ window.onload = async function () {


if (this.getAttribute('disabled') || playable===false) {
// hide spinner
document.getElementById('spinner').style.display = 'none';
return;
}

Expand Down Expand Up @@ -176,6 +174,8 @@ window.onload = async function () {

game_history.push(iamove);
toggle_colour(iahex,IA);
// hide spinner
document.getElementById('spinner').style.display = 'none';
playable = true;
// check if current_IA won
if (data.game_over === true) {
Expand Down

0 comments on commit a7caab1

Please sign in to comment.