Bugfix Crash on No Post Processing Component
This commit is contained in:
parent
69bd004895
commit
82ce8b2074
@ -169,7 +169,7 @@ void ATurnBaseCombatV2::BeginPlay()
|
||||
FWeightedBlendable WeightedBlendable;
|
||||
WeightedBlendable.Object = RedVignetteMaterialInstance;
|
||||
WeightedBlendable.Weight = 1.0f;
|
||||
PostProcessVolume->Settings.WeightedBlendables.Array.Add(WeightedBlendable);
|
||||
if (IsValid(PostProcessVolume)) PostProcessVolume->Settings.WeightedBlendables.Array.Add(WeightedBlendable);
|
||||
}
|
||||
|
||||
TArray<UStaticMeshComponent*> StaticMeshComponents;
|
||||
|
Loading…
Reference in New Issue
Block a user