swap args to PlayerColorRemap

This commit is contained in:
Chris Forbes
2011-10-21 22:11:40 +13:00
parent 4a30019536
commit 4c26710ccb
4 changed files with 4 additions and 4 deletions

View File

@@ -306,7 +306,7 @@ namespace OpenRA.Editor
{
var pr = Map.Players[name];
var pcpi = Rules.Info["player"].Traits.Get<PlayerColorPaletteInfo>();
var remap = new PlayerColorRemap(pr.ColorRamp, pcpi.PaletteFormat);
var remap = new PlayerColorRemap(pcpi.PaletteFormat, pr.ColorRamp);
return new Palette(Palette, remap).AsSystemPalette();
}