From 7296353c73bc183aeed9d3c80e28d849826305ee Mon Sep 17 00:00:00 2001 From: Rafal Swierczek <34179rs@gmail.com> Date: Thu, 12 Oct 2023 21:29:19 +0100 Subject: [PATCH] Fixed Being Unable to Complete a Main Bounty --- .../BountySystemTestLevel/D/FV/ZSSIWWVFPEB062T3V49ZY5.uasset | 3 --- .../Source/EndlessVendetta/BountySystem/BountyDirector.cpp | 1 + .../Source/EndlessVendetta/BountySystem/BountyDirector.h | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) delete mode 100644 EndlessVendetta/Content/__ExternalActors__/Levels/BountySystemTestLevel/D/FV/ZSSIWWVFPEB062T3V49ZY5.uasset diff --git a/EndlessVendetta/Content/__ExternalActors__/Levels/BountySystemTestLevel/D/FV/ZSSIWWVFPEB062T3V49ZY5.uasset b/EndlessVendetta/Content/__ExternalActors__/Levels/BountySystemTestLevel/D/FV/ZSSIWWVFPEB062T3V49ZY5.uasset deleted file mode 100644 index 2f24fd5a..00000000 --- a/EndlessVendetta/Content/__ExternalActors__/Levels/BountySystemTestLevel/D/FV/ZSSIWWVFPEB062T3V49ZY5.uasset +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f21ce76c3ff1a7c8f442419e5f2a4b248d6badac41b1d5e6a52c3ab5933ea2bf -size 5108 diff --git a/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyDirector.cpp b/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyDirector.cpp index 56242ca9..d94226dc 100644 --- a/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyDirector.cpp +++ b/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyDirector.cpp @@ -190,6 +190,7 @@ void ABountyDirector::BuyFavours() void ABountyDirector::Interact() { + UpdateBountyProgression(); FInputModeUIOnly InputMode; APlayerController* PlayerController = GetWorld()->GetFirstPlayerController(); diff --git a/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyDirector.h b/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyDirector.h index 3af1d407..5469ddc1 100644 --- a/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyDirector.h +++ b/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyDirector.h @@ -42,7 +42,7 @@ class ENDLESSVENDETTA_API ABountyDirector : public AInteractableActor TArray ActiveSideBounties; // Checks if completed the bounty, and moves onto the next if so - UFUNCTION(BlueprintCallable, Category = "Bounty") + //UFUNCTION(BlueprintCallable, Category = "Bounty") void UpdateBountyProgression(); void SpawnBountyAndItsSideBounties();