kennethloeffler / anatta

Anatta is a library that integrates the ECS pattern into Roblox.
https://kennethloeffler.github.io/anatta/
MIT License
38 stars 1 forks source link

Make withAttachments always insert a table into Reactor pool #116

Closed kennethloeffler closed 2 years ago

kennethloeffler commented 2 years ago

This PR makes Reactor:withAttachments always insert a table into Reactor._pool. This prevents hard errors when a consumer returns something other than a table from the callback