From feb32bcd3dce0801ce24ad3bba3be0ce992c8c09 Mon Sep 17 00:00:00 2001 From: Andre Mohren Date: Fri, 16 Feb 2024 09:38:41 +0100 Subject: [PATCH] Fixed PlayerColorShift.cs --- OpenRA.Mods.Example/Rendering/PlayerColorShift.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }