diff --git a/js/pathfinding.js b/js/pathfinding.js index cad2851..befb7ed 100644 --- a/js/pathfinding.js +++ b/js/pathfinding.js @@ -416,6 +416,9 @@ export function initializePathfinding() { } export function startBackgroundCaching(token) { + // Background caching isn't yet supported for gridless scenes + if (canvas.grid.type === CONST.GRID_TYPES.GRIDLESS) + return; if (game.user.isGM || game.settings.get(settingsKey, "allowPathfinding")) { cache.startBackgroundCaching(token); }