From ade335d27818e88129e860dd660f39a9d7d79491 Mon Sep 17 00:00:00 2001 From: RAFAL SWIERCZEK Date: Fri, 2 Feb 2024 14:56:54 +0000 Subject: [PATCH] Prepped Build --- .../Levels/EnemyAITest/0/BH/KS02NXNXRR4I87WM39RJJN.uasset | 3 +++ .../Levels/EnemyAITest/5/LS/LPZ549UOJAZIWJNZLR0EH0.uasset | 3 +++ .../Levels/EnemyAITest/E/WM/7S8OEF1ALOX6NKI759UPUB.uasset | 4 ++-- .../EndlessVendetta/Characters/BountyHunterCharacter.cpp | 4 ++++ 4 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 EndlessVendetta/Content/__ExternalActors__/Levels/EnemyAITest/0/BH/KS02NXNXRR4I87WM39RJJN.uasset create mode 100644 EndlessVendetta/Content/__ExternalActors__/Levels/EnemyAITest/5/LS/LPZ549UOJAZIWJNZLR0EH0.uasset diff --git a/EndlessVendetta/Content/__ExternalActors__/Levels/EnemyAITest/0/BH/KS02NXNXRR4I87WM39RJJN.uasset b/EndlessVendetta/Content/__ExternalActors__/Levels/EnemyAITest/0/BH/KS02NXNXRR4I87WM39RJJN.uasset new file mode 100644 index 00000000..24c2fecd --- /dev/null +++ b/EndlessVendetta/Content/__ExternalActors__/Levels/EnemyAITest/0/BH/KS02NXNXRR4I87WM39RJJN.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c62abbef4890ad85a6b0c5056e7cad9a1963f937c34630f3a5ba29d584bde1c +size 6362 diff --git a/EndlessVendetta/Content/__ExternalActors__/Levels/EnemyAITest/5/LS/LPZ549UOJAZIWJNZLR0EH0.uasset b/EndlessVendetta/Content/__ExternalActors__/Levels/EnemyAITest/5/LS/LPZ549UOJAZIWJNZLR0EH0.uasset new file mode 100644 index 00000000..75ca0ce6 --- /dev/null +++ b/EndlessVendetta/Content/__ExternalActors__/Levels/EnemyAITest/5/LS/LPZ549UOJAZIWJNZLR0EH0.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0f1cdc2ca5697a5f4e97574930f1a81e9ea5203847aa2abc34fe682a322d150e +size 4218 diff --git a/EndlessVendetta/Content/__ExternalActors__/Levels/EnemyAITest/E/WM/7S8OEF1ALOX6NKI759UPUB.uasset b/EndlessVendetta/Content/__ExternalActors__/Levels/EnemyAITest/E/WM/7S8OEF1ALOX6NKI759UPUB.uasset index 33189d8b..16fa5da5 100644 --- a/EndlessVendetta/Content/__ExternalActors__/Levels/EnemyAITest/E/WM/7S8OEF1ALOX6NKI759UPUB.uasset +++ b/EndlessVendetta/Content/__ExternalActors__/Levels/EnemyAITest/E/WM/7S8OEF1ALOX6NKI759UPUB.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4e230c10405edc83911b7a264e397dfa14d304c5492cfdd64add703df2b758b6 -size 4769 +oid sha256:b3b486e5f781568dfc3311e0a748054cd44c937f24cf97813ffdb41bc57ff9ab +size 4797 diff --git a/EndlessVendetta/Source/EndlessVendetta/Characters/BountyHunterCharacter.cpp b/EndlessVendetta/Source/EndlessVendetta/Characters/BountyHunterCharacter.cpp index 800f7138..9d24e93b 100644 --- a/EndlessVendetta/Source/EndlessVendetta/Characters/BountyHunterCharacter.cpp +++ b/EndlessVendetta/Source/EndlessVendetta/Characters/BountyHunterCharacter.cpp @@ -17,6 +17,10 @@ void ABountyHunterCharacter::SpawnMainBounty() if (MainBountyClasses.IsEmpty() || MainBountyClasses.Num() <= CurrentMainBountyIndex|| !IsValid(MainBountyClasses[CurrentMainBountyIndex])) { AllBountiesCompleted(); + if (CurrentMainBountyIndex >= 2 && !(UGameplayStatics::GetCurrentLevelName(GetWorld()) == "EnemyAITest")) + { + UGameplayStatics::OpenLevel(GetWorld(), FName("EnemyAITest")); + } return; }