This commit is contained in:
syuilo 2024-01-09 20:17:40 +09:00
parent 4918923635
commit e33c8bf43a

View file

@ -286,7 +286,7 @@ export class DropAndFusionGame extends EventEmitter<{
this.gameOver(); this.gameOver();
} }
public gameOver() { private gameOver() {
this.isGameOver = true; this.isGameOver = true;
if (this.tickRaf) window.cancelAnimationFrame(this.tickRaf); if (this.tickRaf) window.cancelAnimationFrame(this.tickRaf);
this.tickRaf = null; this.tickRaf = null;