From 2f06e7cf340922a470aaf52e21fe6fc72b09c4f5 Mon Sep 17 00:00:00 2001 From: Guy Elsmore-Paddock Date: Thu, 18 Jul 2024 22:32:31 -0400 Subject: [PATCH] [#60] Switch to `GetSingleTagContainer()` --- .../Private/Utilities/PF2GameplayAbilityUtilities.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/OpenPF2GameFramework/Private/Utilities/PF2GameplayAbilityUtilities.cpp b/Source/OpenPF2GameFramework/Private/Utilities/PF2GameplayAbilityUtilities.cpp index cc83c09f..78a7d7bf 100644 --- a/Source/OpenPF2GameFramework/Private/Utilities/PF2GameplayAbilityUtilities.cpp +++ b/Source/OpenPF2GameFramework/Private/Utilities/PF2GameplayAbilityUtilities.cpp @@ -37,7 +37,7 @@ namespace PF2GameplayAbilityUtilities const FGameplayTag WeightTagParent = Pf2TagGameplayEffectWeightGroups; const UGameplayEffect* Effect = GameplayEffect.GetDefaultObject(); - const FGameplayTagContainer WeightTags = Effect->GetAssetTags().Filter(FGameplayTagContainer(WeightTagParent)); + const FGameplayTagContainer WeightTags = Effect->GetAssetTags().Filter(WeightTagParent.GetSingleTagContainer()); if (WeightTags.IsEmpty()) {