Fixes Cult runes being white
Created by: Exxion
Also fixes a minor logic error in a sanity check, and changes a variable's spelling.
This broke because the scale of HSL in rgb2hsl()
and hsl2rgb()
was changed and this wasn't corrected.
Those procs are each used in exactly two places in the codebase: Here and in light cycles. The latter was added in the PR that changed the HSL scale, so there are no more bugs anywhere in the codebase stemming from this.
Fixes #13707 (closed)
I never want to see this file again in my life