fix: revisit later
This commit is contained in:
parent
c9d3f6f8e6
commit
c5142e4e55
|
@ -141,7 +141,7 @@ export default (flecks) => class Emitter extends decorate(Trait) {
|
||||||
this.#emitter.destroy();
|
this.#emitter.destroy();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
this.renderTick(elapsed);
|
this.tick(elapsed);
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
hooks.destroy = () => () => 0 === this.#streams.length;
|
hooks.destroy = () => () => 0 === this.#streams.length;
|
||||||
|
@ -330,7 +330,7 @@ export default (flecks) => class Emitter extends decorate(Trait) {
|
||||||
: [];
|
: [];
|
||||||
}
|
}
|
||||||
|
|
||||||
renderTick(elapsed) {
|
tick(elapsed) {
|
||||||
this.#emitter.update(elapsed);
|
this.#emitter.update(elapsed);
|
||||||
for (let i = 0; i < this.#emissions.length; i++) {
|
for (let i = 0; i < this.#emissions.length; i++) {
|
||||||
this.#emissions[i].tick(elapsed);
|
this.#emissions[i].tick(elapsed);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user