diff --git a/OpenRA.Mods.Example/Rendering/PlayerColorShift.cs b/OpenRA.Mods.Example/Rendering/PlayerColorShift.cs index 468c7314..f56895a4 100644 --- a/OpenRA.Mods.Example/Rendering/PlayerColorShift.cs +++ b/OpenRA.Mods.Example/Rendering/PlayerColorShift.cs @@ -60,7 +60,7 @@ void ILoadsPlayerPalettes.LoadPlayerPalettes(WorldRenderer worldRenderer, string info.BasePalette + playerName, hue - info.ReferenceHue, saturation - info.ReferenceSaturation, - value - info.ReferenceValue, + value / info.ReferenceValue, info.MinHue, info.MaxHue); }