From ea8a93a4025fd45083505db1326c21431c5e5167 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timon=20R=C3=B6mer?= <t.roemer@vr.rwth-aachen.de> Date: Thu, 14 Mar 2024 14:51:35 +0100 Subject: [PATCH] Fixes warning condition on startup --- .../Interaction/Interactables/IntenSelect/IntenSelectable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/RWTHVRToolkit/Private/Interaction/Interactables/IntenSelect/IntenSelectable.cpp b/Source/RWTHVRToolkit/Private/Interaction/Interactables/IntenSelect/IntenSelectable.cpp index 6b64f64b..9352bc3f 100644 --- a/Source/RWTHVRToolkit/Private/Interaction/Interactables/IntenSelect/IntenSelectable.cpp +++ b/Source/RWTHVRToolkit/Private/Interaction/Interactables/IntenSelect/IntenSelectable.cpp @@ -43,7 +43,7 @@ void UIntenSelectable::BeginPlay() if (AttachedIntenSelectables.Num() > 1) { - if (!ScoringBehaviours.Num() == 0) + if (ScoringBehaviours.Num() == 0) { ShowErrorAndQuit( "Please assign the Scoring Behaviour manually when using more than one IntenSelectable Component!"); -- GitLab