made npcs decline invites until we have a better recruitment system

This commit is contained in:
Monty Marz 2020-09-04 00:46:32 +02:00
parent e512578ef5
commit 821c7e5881

View File

@ -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();