Bugfix Able to See Status Text on Boss Combat

This commit is contained in:
Philip W 2023-05-20 01:46:13 +01:00
parent c7367be0c1
commit e67e32387c
2 changed files with 3 additions and 2 deletions

BIN
Content/Levels/Build.umap (Stored with Git LFS)

Binary file not shown.

View File

@ -46,6 +46,7 @@ void ATurnBaseCombatV2::StartCombat(AActor* Enemy, const bool bWasShot)
if (Enemy == nullptr) return;
if (bIsInCombat) return;
EnemyActor = Enemy;
StatusTextBlock->SetRenderOpacity(0.0f);
BookHUD->SetVisibility(ESlateVisibility::SelfHitTestInvisible);
Cast<ATempCharacter>(PlayerActor)->InventoryWidget->SetVisibility(ESlateVisibility::Hidden);
Cast<ATempCharacter>(PlayerActor)->EscapeMenuWidget->SetVisibility(ESlateVisibility::Hidden);