Show the setting for automatic pathfinding to players if they are allowed to use pathfinding

This commit is contained in:
Manuel Vögele
2022-02-03 17:59:09 +01:00
parent 68885385ea
commit 1509307313
+1 -1
View File
@@ -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,
});