This PR fixes an issue reported by Discord user john.
Basically, the additional lookup table introduced by #3413 wasn't being updated when cycling colors. After testing performance, it seems that the time it takes to update the lookup table is negligible so this change doesn't negate the performance gains of the optimization.
This PR fixes an issue reported by Discord user
john
.Basically, the additional lookup table introduced by #3413 wasn't being updated when cycling colors. After testing performance, it seems that the time it takes to update the lookup table is negligible so this change doesn't negate the performance gains of the optimization.