public void InitPalette( OpenRA.Graphics.WorldRenderer wr )
 {
     wr.AddPalette( info.Name, new Palette( FileSystem.Open( world.TileSet.Palette ), info.ShadowIndex ) );
 }
 public void InitPalette(OpenRA.Graphics.WorldRenderer wr)
 {
     string Filename = world.TileSet.PlayerPalette == null ? world.TileSet.Palette : world.TileSet.PlayerPalette;
     wr.AddPalette(info.Name, new Palette(FileSystem.Open(Filename), info.ShadowIndex));
 }