diff --git a/campaign/scripts/sanityedgedamage.lua b/campaign/scripts/sanityedgedamage.lua index 05c13fd..3fe1748 100644 --- a/campaign/scripts/sanityedgedamage.lua +++ b/campaign/scripts/sanityedgedamage.lua @@ -12,8 +12,8 @@ function onValueChanged() local nSanityEdge = DB.getValue(nodeSanity, "edge", 0) if nSanityDamage ~= 0 and nSanityDamage >= nSanityEdge then - window.sanitydamage.setColor(ColorManager.COLOR_HEALTH_CRIT_WOUNDS) + window.sanitydamage.setColor(ColorManager.getUIColor("health_wounds_critical")) else - window.sanitydamage.setColor(ColorManager.COLOR_FULL) + window.sanitydamage.setColor(ColorManager.getUIColor("usage_full")) end end diff --git a/extension.xml b/extension.xml index ade07a1..6fb4962 100644 --- a/extension.xml +++ b/extension.xml @@ -5,7 +5,7 @@ Feature: Sanity Tracker - 1.12 + 1.13 bmos (Wil Thieme) This FantasyGrounds extension helps track sanity effects as described in Paizo's Horror Adventures rulebook. 50 @@ -17,7 +17,7 @@ - +