JaimeGensler / thyseus

An archetypal Entity Component System, built entirely in Typescript
MIT License
74 stars 3 forks source link

[BUG] Promise returned by runSchedule resolves before systems finish execution #72

Closed JaimeGensler closed 10 months ago

JaimeGensler commented 10 months ago

Bug Description

Title - using await on runSchedule() doesn't really do much useful.

I forgot to return the promise from Schedule.p.run() 💀