This commit is contained in:
syuilo
2024-01-09 17:40:15 +09:00
parent c0d28358d6
commit aa7dd98119
2 changed files with 54 additions and 7 deletions

View File

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