Skip to content

Commit

Permalink
Miasma depends on gene type, not species type
Browse files Browse the repository at this point in the history
  • Loading branch information
Drise13 committed Jul 16, 2022
1 parent 2220435 commit 5c32d2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PetsOptimizer/Genes/GeneticEffects.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public MiasmaEffect(Pet pet)

public bool DoesMultiplierApplyToForaging(Territory territory)
{
return territory.Pets.Select(p => p.Species).Distinct().Count() == territory.Pets.Count;
return territory.Pets.Select(p => p.GeneEffect).Distinct().Count() == territory.Pets.Count;
}
}

Expand Down

0 comments on commit 5c32d2b

Please sign in to comment.