Closed hymm closed 7 months ago
Tried using SystemState instead of Query::new like james suggested. Seems to work, but had to change query() to take an &mut self. Not sure if that would be a deal breaker. Needs to be &mut so that the cached archetypes can be updated.
Query::new
Tried using SystemState instead of
Query::new
like james suggested. Seems to work, but had to change query() to take an &mut self. Not sure if that would be a deal breaker. Needs to be &mut so that the cached archetypes can be updated.