update disabled status after clicking gold too

master
Ondřej Hruška 5 years ago
parent 2e9555ee80
commit 670d7711ab
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 1
      script.js

@ -1090,6 +1090,7 @@ class Game {
if (orb.symbol === 'gold') { if (orb.symbol === 'gold') {
this.board.removeOrbByIndex(n); this.board.removeOrbByIndex(n);
this.selectedOrb = null; this.selectedOrb = null;
this.updateOrbDisabledStatus();
if (this.countOrbs() === 0) { if (this.countOrbs() === 0) {
console.info("Good work!"); console.info("Good work!");

Loading…
Cancel
Save