mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 20:43:07 +00:00
Prevent eggs from generating nonstatic encounters
Closes #1239 indirectly; anything gen5+ which was an egg can only be Daycare or EncounterStatic
This commit is contained in:
parent
3f38b123a3
commit
3faecaf6d5
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ namespace PKHeX.Core
|
||||||
if (pkm.WasEgg)
|
if (pkm.WasEgg)
|
||||||
{
|
{
|
||||||
foreach (var z in GenerateEggs(pkm))
|
foreach (var z in GenerateEggs(pkm))
|
||||||
yield return z;
|
{ yield return z; ++ctr; }
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach (var z in GetValidStaticEncounter(pkm))
|
foreach (var z in GetValidStaticEncounter(pkm))
|
||||||
|
|
Loading…
Reference in a new issue