From 543269ffa372a4ca23fa364fa97b372a7ae99c36 Mon Sep 17 00:00:00 2001 From: Andrew Beard Date: Mon, 3 Jun 2024 16:10:45 -0400 Subject: [PATCH] Define both gridDistance and grid.distance to maintain backwards compatibility with v11 and remove warnings from v12 --- system/system.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/system/system.json b/system/system.json index 4164a88d..1a5865ae 100644 --- a/system/system.json +++ b/system/system.json @@ -298,10 +298,14 @@ ] } ], + "grid": { + "distance": 5, + "units": "ft" + }, + "gridDistance": 5, + "gridUnits": "ft", "socket": true, - "gridDistance": 5, "initiative": "@initiativeFormula + @initiativeBonus", "primaryTokenAttribute": "attributes.hp", - "gridUnits": "ft", "background": "systems/shadowdark/assets/artwork/GM_Screen_Final_Drawing_Elongated.webp" }