From 73361b6e42ec7682c0d2ab930a5773090cee7be2 Mon Sep 17 00:00:00 2001 From: TjgL Date: Sat, 15 Mar 2025 22:02:27 +0100 Subject: [PATCH] Made CanBeHitByTeam Blueprint callable Signed-off-by: TjgL --- Source/LegumeMix/Public/Player/LMHitBox.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/LegumeMix/Public/Player/LMHitBox.h b/Source/LegumeMix/Public/Player/LMHitBox.h index cf43325..75186c6 100644 --- a/Source/LegumeMix/Public/Player/LMHitBox.h +++ b/Source/LegumeMix/Public/Player/LMHitBox.h @@ -27,6 +27,8 @@ public: void OnHitSimple(float const Damage, FVector const Origin, const FHitResult& Hit); void SetHealthComponent(ULMHealthComponent* NewHealthComponent) { HealthComponent = NewHealthComponent; } + + UFUNCTION(BlueprintCallable, Category=Legumix) bool CanBeHitByTeam(ETeam Team) const; public: