Rework some globals to aura_env

This commit is contained in:
2024-03-30 19:24:53 +01:00
parent ff03b47444
commit c8af9f84eb
2 changed files with 5 additions and 5 deletions

View File

@@ -5,7 +5,7 @@ function()
if aura_env.config.borderColor then
if subregion.type == "subborder" then
---@type ClassColor
local classColorInfo = ClassColors[aura_env.state.targetClassId]
local classColorInfo = aura_env.ClassColors[aura_env.state.targetClassId]
if classColorInfo then
local color = classColorInfo.color.rgbInt
subregion:SetBorderColor(color[1] / 255, color[2] / 255, color[3] / 255, 1)