From cee5188d472d4f32755f4b01f919c2a4ae539d2c Mon Sep 17 00:00:00 2001 From: MH261677 Date: Fri, 18 Nov 2022 13:28:22 +0000 Subject: [PATCH] Updated TempCharacter Updated the buy function and made it more accessible to adding other items. --- Source/the_twilight_abyss/PlayerTemp/TempCharacter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/the_twilight_abyss/PlayerTemp/TempCharacter.cpp b/Source/the_twilight_abyss/PlayerTemp/TempCharacter.cpp index 07a7ae2..dc32492 100644 --- a/Source/the_twilight_abyss/PlayerTemp/TempCharacter.cpp +++ b/Source/the_twilight_abyss/PlayerTemp/TempCharacter.cpp @@ -79,7 +79,7 @@ void ATempCharacter::LineTraceLogic() { return; } - if(OutHit.GetActor()->ActorHasTag("HealingJelly")) + if(OutHit.GetActor()->FindComponentByClass()) { if(GoldBalance >= 100) {