mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-15 08:47:14 +00:00
Fix location suggestion
some games don't have location set to the slot, just copy from area closes #1402
This commit is contained in:
parent
db4c8640fb
commit
309ef8bc34
1 changed files with 1 additions and 1 deletions
|
@ -44,8 +44,8 @@ namespace PKHeX.Core
|
|||
var first = slots.First();
|
||||
var encounter = new EncounterStatic
|
||||
{
|
||||
Location = area.Location,
|
||||
Species = first.Species,
|
||||
Location = first.Location,
|
||||
Level = first.LevelMin,
|
||||
};
|
||||
if (loc != -1) // forced location
|
||||
|
|
Loading…
Reference in a new issue