Skip to content

Commit

Permalink
Merge pull request #393 from amir-arad/fix/apply-damage-setting-bug
Browse files Browse the repository at this point in the history
fix: apply damage settings
  • Loading branch information
anthonyronda authored Apr 9, 2023
2 parents 8022336 + 1297f2f commit 1cddd95
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/module/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,11 @@ const registerSettings = () => {
scope: "world",
type: String,
config: true,
choices: Object.values(CONFIG.OSE.encumbranceOptions)
.reduce((obj, enc) => {
return {...obj, [enc.type]: enc.localizedLabel}
}, {}) as SettingConfig<ApplyDamageOption>["choices"],
choices: {
selected : game.i18n.localize("OSE.Setting.damageSelected"),
targeted : game.i18n.localize("OSE.Setting.damageTarget"),
originalTarget : game.i18n.localize("OSE.Setting.damageOriginalTarget"),
},
});
game.settings.register(game.system.id, "invertedCtrlBehavior", {
name: game.i18n.localize("OSE.Setting.InvertedCtrlBehavior"),
Expand Down

0 comments on commit 1cddd95

Please sign in to comment.