From 1509307313d857af861ea37a98a0a2d30d5067cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20V=C3=B6gele?= Date: Thu, 3 Feb 2022 17:59:09 +0100 Subject: [PATCH] Show the setting for automatic pathfinding to players if they are allowed to use pathfinding --- src/settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/settings.js b/src/settings.js index 51caa58..bfa0a6b 100644 --- a/src/settings.js +++ b/src/settings.js @@ -97,7 +97,7 @@ export function registerSettings() { name: "drag-ruler.settings.autoPathfinding.name", hint: "drag-ruler.settings.autoPathfinding.hint", scpoe: "client", - config: early_isGM(), + config: early_isGM() || game.settings.get(settingsKey, "allowPathfinding"), type: Boolean, defualt: false, });