HELP.Exponential fog color changing in editor but not in game.

ATestActor::ATestActor()
{
PrimaryActorTick.bCanEverTick = true;
fogComponent = CreateDefaultSubobject(TEXT(“Fog”));
fogComponent->bEnableVolumetricFog = true;
}
void ATestActor::BeginPlay()
{
Super::BeginPlay();
fogComponent->VolumetricFogAlbedo = FogColor;

}

Sorry my bad, I was using the wrong variables,
fogComponent->SetFogDensity(FDensity);
fogComponent->SetVolumetricFogAlbedo(FogColor);
did the trick.