ecs: fix query.get::<T>() access
This commit is contained in:
parent
a6953049fb
commit
ae30175e18
@ -157,6 +157,9 @@ impl<'a, Q: HecsQuery> Query<'a, Q> {
|
||||
if self
|
||||
.archetype_access
|
||||
.immutable
|
||||
.contains(location.archetype as usize) || self
|
||||
.archetype_access
|
||||
.mutable
|
||||
.contains(location.archetype as usize)
|
||||
{
|
||||
self.world
|
||||
|
||||
Loading…
Reference in New Issue
Block a user