Skip to content
Snippets Groups Projects
Commit d09d9a53 authored by Kamil Karwacki's avatar Kamil Karwacki
Browse files

fixed a check which was always true

parent 652747ea
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,7 @@ void UBasicVRInteractionComponent::TickComponent(float DeltaTime, ELevelTick Tic
void UBasicVRInteractionComponent::Initialize(USceneComponent* RayEmitter, float InMaxGrabDistance, float InMaxClickDistance)
{
if(RayEmitter != nullptr) return; /* Return if already initialized */
if(InteractionRayEmitter!= nullptr) return; /* Return if already initialized */
InteractionRayEmitter = RayEmitter;
MaxGrabDistance = InMaxGrabDistance;
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment