From a2ee32140cb605ad460ee50310999b22d61ec35a Mon Sep 17 00:00:00 2001 From: jshipsey Date: Thu, 8 Oct 2020 18:55:30 -0400 Subject: [PATCH] fix agent bug --- common/src/sys/agent.rs | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/common/src/sys/agent.rs b/common/src/sys/agent.rs index 2c0415b371..ee2674a46a 100644 --- a/common/src/sys/agent.rs +++ b/common/src/sys/agent.rs @@ -32,10 +32,12 @@ pub struct Sys; impl<'a> System<'a> for Sys { #[allow(clippy::type_complexity)] type SystemData = ( - Read<'a, UidAllocator>, - Read<'a, Time>, - Read<'a, DeltaTime>, - Read<'a, group::GroupManager>, + ( + Read<'a, UidAllocator>, + Read<'a, Time>, + Read<'a, DeltaTime>, + Read<'a, group::GroupManager>, + ), ReadExpect<'a, SysMetrics>, Write<'a, EventBus>, Entities<'a>, @@ -65,10 +67,7 @@ impl<'a> System<'a> for Sys { fn run( &mut self, ( - uid_allocator, - time, - dt, - group_manager, + (uid_allocator, time, dt, group_manager), sys_metrics, event_bus, entities,