forked from mirror/misskey
refactor
This commit is contained in:
parent
4918923635
commit
e33c8bf43a
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user