Add an option to do pathfinding automatically

This commit is contained in:
Manuel Vögele
2021-07-19 22:39:11 +02:00
parent 54cebc3192
commit c9696f8725
3 changed files with 15 additions and 1 deletions
+9
View File
@@ -82,6 +82,15 @@ export function registerSettings() {
default: true,
});
game.settings.register(settingsKey, "autoPathfinding", {
name: "drag-ruler.settings.autoPathfinding.name",
hint: "drag-ruler.settings.autoPathfinding.hint",
scpoe: "client",
config: true,
type: Boolean,
defualt: true,
});
game.settings.register(settingsKey, "lastTerrainRulerHintTime", {
config: false,
type: Number,