Compare commits

..

No commits in common. "3b2301b270fb8fd0686b38e3559cf600a6323beb" and "18702cea0c51b6602f8a04c4be6d3363aaa1b418" have entirely different histories.

2 changed files with 0 additions and 3 deletions

View File

@ -106,6 +106,4 @@ void UHealthComponent::BeginPlay()
Super::BeginPlay(); Super::BeginPlay();
ResetHealth(); ResetHealth();
GetOwner()->OnTakeAnyDamage.AddUniqueDynamic(this, &UHealthComponent::TakeDamage);
} }

View File

@ -6,7 +6,6 @@
#include "Kismet/GameplayStatics.h" #include "Kismet/GameplayStatics.h"
#include "vampires/PlayerCharacter.h" #include "vampires/PlayerCharacter.h"
#include "Components/ProgressBar.h" #include "Components/ProgressBar.h"
#include "vampires/HealthComponent.h"
#include "vampires/VampireCharacter.h" #include "vampires/VampireCharacter.h"
void UHealthbarWidget::NativeConstruct() void UHealthbarWidget::NativeConstruct()