wip
This commit is contained in:
parent
333fac00c8
commit
eda727c487
4 changed files with 13 additions and 6 deletions
|
|
@ -408,7 +408,7 @@ export class DropAndFusionGame extends EventEmitter<{
|
|||
|
||||
Matter.Engine.update(this.engine, this.TICK_DELTA);
|
||||
|
||||
window.requestAnimationFrame(playTick);
|
||||
this.tickRaf = window.requestAnimationFrame(playTick);
|
||||
};
|
||||
|
||||
playTick();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue