From 83e7b34466db91fabf017edc82879456c0b132ff Mon Sep 17 00:00:00 2001
From: jehret <ehret@vr.rwth-aachen.de>
Date: Fri, 30 Jun 2023 22:40:31 +0200
Subject: [PATCH] fix debug representaitons not updating on slaves

---
 .../VAPlugin/Private/SoundSource/VAAbstractSourceComponent.cpp  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Source/VAPlugin/Private/SoundSource/VAAbstractSourceComponent.cpp b/Source/VAPlugin/Private/SoundSource/VAAbstractSourceComponent.cpp
index a85a86d..4d1632f 100644
--- a/Source/VAPlugin/Private/SoundSource/VAAbstractSourceComponent.cpp
+++ b/Source/VAPlugin/Private/SoundSource/VAAbstractSourceComponent.cpp
@@ -53,7 +53,7 @@ void UVAAbstractSourceComponent::TickComponent(const float DeltaTime, const ELev
 {
 	Super::TickComponent(DeltaTime, TickType, ThisTickFunction);
 
-	if (!FVAPlugin::GetUseVA() || !UVirtualRealityUtilities::IsMaster())
+	if (!FVAPlugin::GetUseVA() || !SoundSource.IsValid())
 	{
 		return;
 	}
-- 
GitLab