Merge branch 'dev' into PuaseMenuTabs

# Conflicts:
#	EndlessVendetta/Content/Dialogue/BP_DialogueUI.uasset
#	EndlessVendetta/Content/FirstPerson/Blueprints/BP_FirstPersonCharacter.uasset
This commit is contained in:
Rafal Swierczek 2024-02-10 14:20:25 +00:00
commit 3b748bc504
13 changed files with 23 additions and 19 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -69,6 +69,7 @@ void UAC_PlayerDialogueInterpreter::StartDialogue(UDialogueTree* DialogueTree)
void UAC_PlayerDialogueInterpreter::NextDialogue() void UAC_PlayerDialogueInterpreter::NextDialogue()
{ {
if (!IsValid(CurrentTextNode)) return; if (!IsValid(CurrentTextNode)) return;
if (IsValid(CurrentChoiceNode)) return;
if (CurrentTextNode->ChildrenNodes.Num() == 0) if (CurrentTextNode->ChildrenNodes.Num() == 0)
{ {
EndDialogue(); EndDialogue();
@ -116,7 +117,7 @@ void UAC_PlayerDialogueInterpreter::EndDialogue()
if (APlayerController* PlayerController = GetWorld()->GetFirstPlayerController()) if (APlayerController* PlayerController = GetWorld()->GetFirstPlayerController())
{ {
const FInputModeGameAndUI InputModeData; const FInputModeGameOnly InputModeData;
PlayerController->SetInputMode(InputModeData); PlayerController->SetInputMode(InputModeData);
PlayerController->bShowMouseCursor = false; PlayerController->bShowMouseCursor = false;
} }