Load ParentTemplatesystem from Persistence and assign to Character
All checks were successful
E2E Testing / test (push) Successful in 1m32s
All checks were successful
E2E Testing / test (push) Successful in 1m32s
This commit is contained in:
parent
bf8324bf16
commit
40a05495c6
@ -28,7 +28,8 @@ export class CharacterParser {
|
||||
|
||||
private parseSingleCharacter(characterData: any): Character {
|
||||
const character = new Character(characterData.componentName, characterData.componentDescription);
|
||||
character.characterSpecificGamesystems = this.parseCharacterSpecificGamesystems(character, characterData.characterSpecificGamesystems);
|
||||
const templateSpecificGamesystems = this.parseCharacterSpecificGamesystems(character, characterData.characterSpecificGamesystems);
|
||||
templateSpecificGamesystems.forEach(system => character.addCharacterSpecificGamesystem(system))
|
||||
return character;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user