revert: double tick
This commit is contained in:
parent
5a43859e56
commit
ba360d6b4f
|
@ -488,13 +488,6 @@ export default class Ecs {
|
|||
if (0 === promises.size) {
|
||||
destroying.add(entityId);
|
||||
}
|
||||
else {
|
||||
for (const promise of promises) {
|
||||
if (promise instanceof Ticker) {
|
||||
promise.tick(elapsed);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (destroying.size > 0) {
|
||||
this.destroyMany(destroying);
|
||||
|
|
Loading…
Reference in New Issue
Block a user