Skip to content

Commit 5e3c2d6

Browse files
authored
Fixed PlayerColorShift.cs
1 parent 639dbbb commit 5e3c2d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OpenRA.Mods.Example/Rendering/PlayerColorShift.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ void ILoadsPlayerPalettes.LoadPlayerPalettes(WorldRenderer worldRenderer, string
6060
info.BasePalette + playerName,
6161
hue - info.ReferenceHue,
6262
saturation - info.ReferenceSaturation,
63-
value - info.ReferenceValue,
63+
value / info.ReferenceValue,
6464
info.MinHue,
6565
info.MaxHue);
6666
}

0 commit comments

Comments
 (0)