fix: entity_builder::disable doesn't actually disable
@@ -1707,7 +1707,7 @@ public:
base_type& disable() const {
static_cast<base_type*>(this)->invoke(
[](world_t *world, entity_t id) {
- ecs_enable(world, id, true);
+ ecs_enable(world, id, false);
});
return *static_cast<base_type*>(this);
}
