Skip to content

Commit

Permalink
Update pf2e.js
Browse files Browse the repository at this point in the history
Fix #350.
  • Loading branch information
mclemente committed Jan 25, 2024
1 parent cc656ce commit ae639af
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/module/providers/pf2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,11 @@ export default class pf2eLanguageProvider extends LanguageProvider {

async getLanguages() {
const customSystemLanguages = game.settings.get("pf2e", "homebrew.languages");
if (this.replaceLanguages) {
CONFIG.PF2E.languages = {
common: "PF2E.Actor.Creature.Language.common"
};
}
const languagesSetting = game.settings.get("polyglot", "Languages");
const langs = {};
const systemLanguages = foundry.utils.deepClone(CONFIG.PF2E.languages);
Expand Down

0 comments on commit ae639af

Please sign in to comment.