diff --git a/Source/Nakatomi/UI/EnemyHealthbarUserWidget.cpp b/Source/Nakatomi/UI/EnemyHealthbarUserWidget.cpp index 135f169..90fb329 100644 --- a/Source/Nakatomi/UI/EnemyHealthbarUserWidget.cpp +++ b/Source/Nakatomi/UI/EnemyHealthbarUserWidget.cpp @@ -12,7 +12,8 @@ void UEnemyHealthbarUserWidget::BindOwner(AEnemyCharacter* NewOwner) if (Owner) { auto healthComponent = Owner->GetHealthComponent(); - healthComponent->OnDamaged.BindUFunction(this, "UpdateHealthbar"); + healthComponent->OnDamaged.BindUFunction(this, "UpdateHealthbar"); + UpdateHealthbar(); } }