Skip to content

Commit

Permalink
who wrote this code?
Browse files Browse the repository at this point in the history
  • Loading branch information
EchtkPvL-bot committed Feb 4, 2024
1 parent a1928e3 commit df216e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,9 @@ class TwitchSweeper {

getState() {
if (this.startTime === false) return 'new';
if (this.gameOver !== false) return 'running';
if (this.gameOver === false) return 'running';
if (this.won === true) return 'victory';
if (this.won === false) return 'defeat';
if (this.gameOver !== false) return 'defeat';

return 'error';
}
Expand Down

0 comments on commit df216e8

Please sign in to comment.