diff options
Diffstat (limited to 'ecs/examples/extension.rs')
-rw-r--r-- | ecs/examples/extension.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ecs/examples/extension.rs b/ecs/examples/extension.rs index ddde32c..f6282e1 100644 --- a/ecs/examples/extension.rs +++ b/ecs/examples/extension.rs @@ -20,8 +20,8 @@ enum EvilnessLevel } fn spawn_enemies( - spawner_query: Query<(EnemySpawnSource, Position)>, - enemies_query: Query<(EvilnessLevel,)>, + spawner_query: Query<(&EnemySpawnSource, &Position)>, + enemies_query: Query<(&EvilnessLevel,)>, mut actions: Actions, ) { |