From 821c7e5881d81cf8ea1899023be3023eac2a2b9e Mon Sep 17 00:00:00 2001 From: Monty Marz Date: Fri, 4 Sep 2020 00:46:32 +0200 Subject: [PATCH] made npcs decline invites until we have a better recruitment system --- common/src/sys/agent.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/src/sys/agent.rs b/common/src/sys/agent.rs index de42980705..6078121477 100644 --- a/common/src/sys/agent.rs +++ b/common/src/sys/agent.rs @@ -554,10 +554,10 @@ impl<'a> System<'a> for Sys { } // Process group invites - for (_invite, alignment, agent, controller) in - (&invites, &alignments, &mut agents, &mut controllers).join() + for (_invite, /*alignment,*/ agent, controller) in + (&invites, /*&alignments,*/ &mut agents, &mut controllers).join() { - let accept = matches!(alignment, Alignment::Npc); + let accept = false; // set back to "matches!(alignment, Alignment::Npc)" when we got better NPC recruitment mechanics if accept { // Clear agent comp *agent = Agent::default();