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();
}
public gameOver() {
private gameOver() {
this.isGameOver = true;
if (this.tickRaf) window.cancelAnimationFrame(this.tickRaf);
this.tickRaf = null;