Enable the quit button
This commit is contained in:
parent
6a97c425d7
commit
407f6c6ec6
@ -30,8 +30,6 @@ void UMainMenuWidget::NativeConstruct()
|
||||
QuitButton->OnFocused.AddUniqueDynamic(this, &UMainMenuWidget::QuitButtonFocused);
|
||||
}
|
||||
|
||||
QuitButton->SetIsEnabled(false);
|
||||
|
||||
if (APlayerController* PlayerController = UGameplayStatics::GetPlayerController(GetWorld(), 0))
|
||||
{
|
||||
UWidgetBlueprintLibrary::SetInputMode_UIOnlyEx(PlayerController, NewGameButton, EMouseLockMode::LockAlways);
|
||||
|
Loading…
x
Reference in New Issue
Block a user