Bugfix Important Stats Widget Renamed
This commit is contained in:
parent
34e7124861
commit
e2ca14c83f
@ -56,7 +56,7 @@ void ATurnBaseCombatV2::StartCombat(AActor* Enemy)
|
||||
HUD->AddToViewport();
|
||||
EnemyActor = Enemy;
|
||||
|
||||
Cast<ATempCharacter>(PlayerActor)->ImportantStats->SetVisibility(ESlateVisibility::Hidden);
|
||||
Cast<ATempCharacter>(PlayerActor)->ImportantStatsWidget->SetVisibility(ESlateVisibility::Hidden);
|
||||
|
||||
ProbertiumResource = 10;
|
||||
EisResource = 10;
|
||||
@ -97,7 +97,7 @@ void ATurnBaseCombatV2::EndCombat()
|
||||
{
|
||||
StatusEffect->OnExpiry(PlayerActor);
|
||||
}
|
||||
Cast<ATempCharacter>(PlayerActor)->ImportantStats->SetVisibility(ESlateVisibility::Visible);
|
||||
Cast<ATempCharacter>(PlayerActor)->ImportantStatsWidget->SetVisibility(ESlateVisibility::Visible);
|
||||
|
||||
HUD->RemoveFromParent();
|
||||
APawn* PlayerPawn = Cast<APawn>(GetWorld()->GetFirstPlayerController()->GetPawn());
|
||||
|
Loading…
Reference in New Issue
Block a user