diff --git a/Source/the_twilight_abyss/TurnBasedCombatV2/TurnBaseCombatV2.cpp b/Source/the_twilight_abyss/TurnBasedCombatV2/TurnBaseCombatV2.cpp index f2de4ab..6411d09 100644 --- a/Source/the_twilight_abyss/TurnBasedCombatV2/TurnBaseCombatV2.cpp +++ b/Source/the_twilight_abyss/TurnBasedCombatV2/TurnBaseCombatV2.cpp @@ -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 StaticMeshComponents;