Skip to content

Commit

Permalink
Fix languages not being an object for OSE
Browse files Browse the repository at this point in the history
  • Loading branch information
kakaroto committed Sep 4, 2020
1 parent 0c42354 commit 579a866
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion polyglot.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ class PolyGlot {
case "dnd5eJP":
case "pf1":
case "pf2e":
case "ose":
case "sfrpg":
return CONFIG[game.system.id.toUpperCase()].languages;
break;
case "ose":
return Object.fromEntries(CONFIG.OSE.languages.map(l => [l, l]));
break;
case "wfrp4e":
const pack = game.packs.get("wfrp4e.skills");
const itemList = await pack.getIndex();
Expand Down

0 comments on commit 579a866

Please sign in to comment.