Fixed LMPlayer blueprint tick not working

Signed-off-by: TjgL <lithmoneo@gmail.com>
This commit is contained in:
TjgL 2025-03-12 14:32:32 +01:00
parent 0de78f1ed3
commit ee9abcc3f5

View File

@ -49,6 +49,8 @@ void ALMPlayer::BeginPlay()
void ALMPlayer::Tick(float DeltaTime) void ALMPlayer::Tick(float DeltaTime)
{ {
Super::Tick(DeltaTime);
if(bHitPeriodInProgress == true) if(bHitPeriodInProgress == true)
{ {
double TimeElapsedSinceLastDamage = GetWorld()->GetTimeSeconds() - TimeOfTheLastDamage; double TimeElapsedSinceLastDamage = GetWorld()->GetTimeSeconds() - TimeOfTheLastDamage;