Skip to content

Commit

Permalink
fix default config
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcomac committed Dec 3, 2023
1 parent de6941e commit 80fe802
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/settings.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { MODULE } from './constants.js'

export function register (updateFunc) {
console.log("REGISTER SETTING2")
const targetModule = game.modules.get("betterrolls-swade2");
if (targetModule && targetModule.active) {
console.log("REGISTER SETTING22")
game.settings.register(MODULE.ID, 'br2RollsBehaviour', {
name: "Select HUD's behavour when using Better Rolls module",
hint: "By selecting one of the options from the dropdown menu, you can tailor the behavior of the HUD module to simulate ctrl and alt keys pressed.This customization enhances your experience with the Better Rolls module.",
Expand All @@ -16,7 +18,7 @@ export function register (updateFunc) {
"alt_click": "Alt click action",
"ctrl_click": "Crtl click action"
},
default: "single",
default: "click",
onChange: (value) => {
updateFunc(value)
}
Expand Down

0 comments on commit 80fe802

Please sign in to comment.