1
0
Fork 0

Fix variable name (caused crash)

This commit is contained in:
teknomunk 2024-06-12 20:37:11 -05:00
parent 207c86b813
commit 03faa7764d
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ function skycolor_utils.convert_to_rgb(minval, maxval, current_val, colors)
-- Get the second color's values
local index2 = math.min(index1 + 1, #colors) -- clamp to maximum color index (will occur if index1 == #colors)
local frac2 = 1.0 - fraction1
local frac2 = 1.0 - frac1
local color2 = colors[index2]
-- Interpolate between color1 and color2