revert: double tick

This commit is contained in:
cha0s 2024-07-30 17:02:49 -05:00
parent 5a43859e56
commit ba360d6b4f

View File

@ -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);