Skip to content

Commit

Permalink
fix: corrected apply damage settings
Browse files Browse the repository at this point in the history
  • Loading branch information
amir-arad committed Apr 9, 2023
1 parent 8022336 commit 1297f2f
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 1297f2f

Please sign in to comment.