Properly set empty slots to Trainer Card (#3098)

#3086 
Was only partially addressed -- it was only done for Title Screen and not League Card too.
This commit is contained in:
CanoeHope 2020-12-01 00:38:15 -05:00 committed by GitHub
parent c77461808d
commit 228042b111
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -244,6 +244,8 @@ namespace PKHeX.Core
{
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());
}
public ushort Year