Skip to content

Commit

Permalink
Corrected miasma application determination
Browse files Browse the repository at this point in the history
  • Loading branch information
Drise13 committed Jul 16, 2022
1 parent 6f5f02c commit 265bed5
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 @@ -181,7 +181,7 @@ public MiasmaEffect(Pet pet)

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

Expand Down

0 comments on commit 265bed5

Please sign in to comment.