mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-09 04:24:36 -05:00
Add no-deferred early break for gen3
c627a86f said it added for both 3 & 4, but was only added for gen4.
This commit is contained in:
parent
f4d8f6e560
commit
1769bcd306
|
|
@ -61,6 +61,9 @@ private static IEnumerable<IEncounterable> GetEncounters3(PKM pkm, LegalInfo inf
|
|||
else
|
||||
deferred.Add(z);
|
||||
}
|
||||
if (deferred.Count == 0)
|
||||
yield break;
|
||||
|
||||
info.PIDIVMatches = false;
|
||||
foreach (var z in deferred)
|
||||
yield return z;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user