After I added the else statement
else {
if (Input.Len() != HiddenWord.Len())
{
PrintLine(TEXT("The Hidden Word is 4 charchters long, try again"));
}
PrintLine(TEXT("You have lost!")); // If guess is wrong
}
I went on and compiled it in the unreal engine and then I had this problem, whenever I play the game and enter the wrong word it first displays this on the screen.
And then when I press enter it displays this
Requesting if anybody could help me to display the second pic instead of the first one.
This is my code