Skip to content

Commit

Permalink
Add ID conversion check in CharacterFactory
Browse files Browse the repository at this point in the history
This should fix issue farirpgs#536.
  • Loading branch information
glmdgrielson committed Nov 5, 2024
1 parent c684b10 commit 95bf2c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/domains/character/CharacterFactory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const CharacterFactory = {
default: undefined,
};
const migratedSheet = this.migrate(newSheet);
return migratedSheet;
return CharacterFactory.resetAllIds(migratedSheet);
},
migrate(character: any): ICharacter {
try {
Expand Down

0 comments on commit 95bf2c9

Please sign in to comment.