Set empty slots if party not full

Closes #3086
This commit is contained in:
Kurt 2020-11-15 14:31:33 -08:00
parent b6da6c1207
commit b1ae53ec63

View File

@ -29,6 +29,8 @@ public void LoadTeamData(IList<PKM> party)
{
for (int i = 0; i < party.Count; i++)
ViewPoke(i).LoadFrom(party[i]);
for (int i = party.Count; i < 6; i++)
ViewPoke(i).LoadFrom(new PK8());
}
}