From 5d7435e67fa370ab7e9159b897fd2d3c890f852c Mon Sep 17 00:00:00 2001 From: Jamie Greunbaum Date: Sat, 25 Mar 2023 01:14:49 -0400 Subject: [PATCH] Bug placer pawn now updates at 60Hz. --- Source/Unrealzilla/Private/BugPlacerPawn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Unrealzilla/Private/BugPlacerPawn.cpp b/Source/Unrealzilla/Private/BugPlacerPawn.cpp index 7e60408..e73db0a 100644 --- a/Source/Unrealzilla/Private/BugPlacerPawn.cpp +++ b/Source/Unrealzilla/Private/BugPlacerPawn.cpp @@ -131,7 +131,7 @@ void ABugPlacerPawn::Activate() UGameplayStatics::GetPlayerController(this, 0)->Possess(this); - float TraceInterval = this->GetActorTickInterval() > 0.0f ? this->GetActorTickInterval() : 1.0f / 30.0f; + float TraceInterval = this->GetActorTickInterval() > 0.0f ? this->GetActorTickInterval() : 1.0f / 60.0f; this->GetWorldTimerManager().SetTimer(this->TraceTimerHandle, this, &ABugPlacerPawn::TraceTimerElapsed, TraceInterval, true); }