diff --git a/Content/Levels/Build.umap b/Content/Levels/Build.umap index b7d25ad..3dc70ab 100644 --- a/Content/Levels/Build.umap +++ b/Content/Levels/Build.umap @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:77213f720bd4985cff9bdceb5e4d1871aa97e443a01aeac6d56c478c7d3b3143 -size 3553033 +oid sha256:6d023215811d29d965431f0be11eea712a031a6cbb04c1fccd182ae191e151b7 +size 3555472 diff --git a/Source/the_twilight_abyss/Quest/QuestSystem.cpp b/Source/the_twilight_abyss/Quest/QuestSystem.cpp index 6994bf9..c334b9b 100644 --- a/Source/the_twilight_abyss/Quest/QuestSystem.cpp +++ b/Source/the_twilight_abyss/Quest/QuestSystem.cpp @@ -58,7 +58,6 @@ void UQuestSystem::CheckActiveQuestConditions() { if (Quest->CheckConditions(GetWorldState())) { - GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Red, TEXT("Quest Completed!")); CompletedQuests.Add(Quest); Quest->ApplyRewards(PlayerInventory); QuestCompletionTitle->SetText(Quest->Title); @@ -88,6 +87,7 @@ UWorldState* UQuestSystem::GetWorldState() const bool UQuestSystem::AddQuest(UQuest* Quest) { + if (HasActiveQuest(Quest)) return false; if (!Quest->CheckPreConditions(GetWorldState())) return false; ActiveQuests.Add(Quest); if (Quest->QuestLine == EQuestLine::Sub)