Fix oversight in 42cef1d29f.

This was SVN commit r18635.
This commit is contained in:
elexis
2016-08-25 18:12:24 +00:00
parent 52504bbfa8
commit eab5436d55
@@ -94,7 +94,7 @@ function fadeColorTick(name)
// change the color
data.fun_colorTransform(data);
overlay.sprite = "color:" + rgbToGuiColor(data.rgb);
overlay.sprite = "color:" + rgbToGuiColor(data.rgb, data.rgb.o);
// recusive call, if duration is positive
if (!data.stopFade && (data.justStopAtExternCall || data.duration - (data.tickInterval * data.tickCounter) > 0))