Bugfix Dialogue Not Triggering Objective & Cosmetic Changes

This commit is contained in:
Philip W 2024-03-22 14:08:16 +00:00
parent 3ac9bab40b
commit 9a2398d2d1
7 changed files with 14 additions and 13 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -160,7 +160,8 @@ void UAC_PlayerDialogueInterpreter::MakeChoiceDialogue(const int Choice)
void UAC_PlayerDialogueInterpreter::EndDialogue()
{
OnEndDialogue.Broadcast(FText::FromString("Dialogue Ended"));
if (IsValid(CurrentTextNode)) OnEndDialogue.Broadcast(CurrentTextNode->Text);
else OnEndDialogue.Broadcast(FText());
CurrentChoiceNode = nullptr;
CurrentTextNode = nullptr;
CurrentAddItemNode = nullptr;