Updated TempCharacter
Updated the buy function and made it more accessible to adding other items.
This commit is contained in:
parent
900feee5a9
commit
cee5188d47
@ -79,7 +79,7 @@ void ATempCharacter::LineTraceLogic()
|
||||
{
|
||||
return;
|
||||
}
|
||||
if(OutHit.GetActor()->ActorHasTag("HealingJelly"))
|
||||
if(OutHit.GetActor()->FindComponentByClass<UInventoryComponent>())
|
||||
{
|
||||
if(GoldBalance >= 100)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user