Exports don't support metatables, so the functions of a zone aren't being transferred when a zone is returned from an export. The best way I see to fix this is to have an ensureMetatable() function that re-connects the metatable to the zone instance. It is boilerplate and annoying, but necessary given the limitations of exports.
Exports don't support metatables, so the functions of a zone aren't being transferred when a zone is returned from an export. The best way I see to fix this is to have an ensureMetatable() function that re-connects the metatable to the zone instance. It is boilerplate and annoying, but necessary given the limitations of exports.