JaimeGensler / thyseus

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

[FEAT] Allow return/continue/break in loops #48

Closed JaimeGensler closed 11 months ago

JaimeGensler commented 1 year ago

We need to add additional .serialize() calls when breaking out of scopes so that consumers don't have to manually call it for early returns/continues/breaks

andrewmunro commented 1 year ago

Just had this bug happen to me and eventually found it in the debugger 🙈