From e2ca14c83f753ebabccf33bae6535aa7e93caea4 Mon Sep 17 00:00:00 2001 From: Blue Probert Date: Thu, 23 Mar 2023 15:55:57 +0000 Subject: [PATCH] Bugfix Important Stats Widget Renamed --- .../the_twilight_abyss/TurnBasedCombatV2/TurnBaseCombatV2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/the_twilight_abyss/TurnBasedCombatV2/TurnBaseCombatV2.cpp b/Source/the_twilight_abyss/TurnBasedCombatV2/TurnBaseCombatV2.cpp index 1c34028..c7804f6 100644 --- a/Source/the_twilight_abyss/TurnBasedCombatV2/TurnBaseCombatV2.cpp +++ b/Source/the_twilight_abyss/TurnBasedCombatV2/TurnBaseCombatV2.cpp @@ -56,7 +56,7 @@ void ATurnBaseCombatV2::StartCombat(AActor* Enemy) HUD->AddToViewport(); EnemyActor = Enemy; - Cast(PlayerActor)->ImportantStats->SetVisibility(ESlateVisibility::Hidden); + Cast(PlayerActor)->ImportantStatsWidget->SetVisibility(ESlateVisibility::Hidden); ProbertiumResource = 10; EisResource = 10; @@ -97,7 +97,7 @@ void ATurnBaseCombatV2::EndCombat() { StatusEffect->OnExpiry(PlayerActor); } - Cast(PlayerActor)->ImportantStats->SetVisibility(ESlateVisibility::Visible); + Cast(PlayerActor)->ImportantStatsWidget->SetVisibility(ESlateVisibility::Visible); HUD->RemoveFromParent(); APawn* PlayerPawn = Cast(GetWorld()->GetFirstPlayerController()->GetPawn());