Skip to content

Commit

Permalink
fix crash hopefully?
Browse files Browse the repository at this point in the history
  • Loading branch information
okwme committed Aug 8, 2024
1 parent 1e5fd7e commit da903ba
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions dist/index.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/module.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/module.js.map

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion src/anybody.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,9 @@ export class Anybody extends EventEmitter {
this.won = false
this.finalBatchSent = false
this.solved = false
this.shaking = 0
this.explosionSmoke = []
this.gunSmoke = []
this.date = new Date(this.day * 1000)
.toISOString()
.split('T')[0]
Expand Down Expand Up @@ -410,7 +413,6 @@ export class Anybody extends EventEmitter {
break
case 'KeyR':
if (!this.gameOver || !this.won) {
this.shaking = 0
this.restart(null, false)
}
break
Expand Down

0 comments on commit da903ba

Please sign in to comment.