diff --git a/Source/RWTHVRToolkit/Private/Interaction/Interactables/IntenSelect/IntenSelectable.cpp b/Source/RWTHVRToolkit/Private/Interaction/Interactables/IntenSelect/IntenSelectable.cpp index f99b7d65df959a5725996eebaab3ec8bc2fd89e9..2daca7dc065500f290846490555275997d6d8831 100644 --- a/Source/RWTHVRToolkit/Private/Interaction/Interactables/IntenSelect/IntenSelectable.cpp +++ b/Source/RWTHVRToolkit/Private/Interaction/Interactables/IntenSelect/IntenSelectable.cpp @@ -3,8 +3,6 @@ #include "Interaction/Interactables/IntenSelect/IntenSelectable.h" #include "Interaction/Interactables/IntenSelect/IntenSelectableScoring.h" #include "Interaction/Interactables/IntenSelect/IntenSelectableSinglePointScoring.h" -#include "Kismet/KismetSystemLibrary.h" -#include "Logging/StructuredLog.h" #include "Misc/MessageDialog.h" #include "Pawn/IntenSelectComponent.h" #include "Utility/RWTHVRUtilities.h" @@ -47,9 +45,9 @@ void UIntenSelectable::BeginPlay() { if (ScoringBehaviours.Num() == 0) { - UE_LOGFMT( - Toolkit, Error, - "Please assign the Scoring Behaviour manually when using more than one IntenSelectable Component!"); + URWTHVRUtilities::ShowErrorAndQuit( + "Please assign the Scoring Behaviour manually when using more than one IntenSelectable Component!", + false, this); } } else