Bugfix Game Mode Not Correctly Being Set On Dialogue End

This commit is contained in:
Philip W 2024-02-05 17:04:03 +00:00
parent ac04c62f7d
commit b7ac7d00de
8 changed files with 14 additions and 11 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -116,7 +116,7 @@ void UAC_PlayerDialogueInterpreter::EndDialogue()
if (APlayerController* PlayerController = GetWorld()->GetFirstPlayerController())
{
const FInputModeGameAndUI InputModeData;
const FInputModeGameOnly InputModeData;
PlayerController->SetInputMode(InputModeData);
PlayerController->bShowMouseCursor = false;
}