refactor: auto renderTick propagation
This commit is contained in:
parent
83c33f670e
commit
b4c4d493a0
|
@ -497,7 +497,6 @@ export class App extends decorate(class {}) {
|
||||||
const elapsed = (now - lastTime) / 1000;
|
const elapsed = (now - lastTime) / 1000;
|
||||||
lastTime = now;
|
lastTime = now;
|
||||||
this.calculateDarkness();
|
this.calculateDarkness();
|
||||||
this.roomView.renderTick(elapsed);
|
|
||||||
this.stage.renderTick(elapsed);
|
this.stage.renderTick(elapsed);
|
||||||
// Sample.
|
// Sample.
|
||||||
this.rps.sample(elapsed);
|
this.rps.sample(elapsed);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user