diff --git a/Source/CAVEOverlay/Private/CAVEOverlayController.cpp b/Source/CAVEOverlay/Private/CAVEOverlayController.cpp index d18b4b72166fe66d739e42740b0aa7eb790de8c1..9c9662ae6876ee2f4faa7a6c2abef444c00abd3d 100644 --- a/Source/CAVEOverlay/Private/CAVEOverlayController.cpp +++ b/Source/CAVEOverlay/Private/CAVEOverlayController.cpp @@ -312,7 +312,7 @@ void ACAVEOverlayController::Tick(float DeltaTime) } } - if (!Head) return; //Display Cluster not initialized + if (!Head || !Cave_Origin) return; //Display Cluster not initialized //Tape Logic FVector Shutter_Position = Cave_Origin->GetComponentLocation() - Head->GetComponentLocation();