Fix not passing trainer name when loading data
This commit is contained in:
1 parent
a33f54b7cb
commit
c0b1724b1e
2 files changed
+2
-1
No files matched your search
@@ -19,6 +19,6 @@ export default class TrainerData {
|
||||
}
|
||||
|
||||
toTrainer(scene: BattleScene): Trainer {
|
||||
return new Trainer(scene, this.trainerType, this.variant, this.partyTemplateIndex);
|
||||
return new Trainer(scene, this.trainerType, this.variant, this.partyTemplateIndex, this.name, this.partnerName);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user