mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
made npcs decline invites until we have a better recruitment system
This commit is contained in:
parent
e512578ef5
commit
821c7e5881
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user