diff --git a/Source/CAVEOverlay/Private/CAVEOverlayController.cpp b/Source/CAVEOverlay/Private/CAVEOverlayController.cpp index 721e9e4fe5a1adc637e40a4cce780af8edc371e7..71f96753f4c37f6d905418018076f863687921b3 100644 --- a/Source/CAVEOverlay/Private/CAVEOverlayController.cpp +++ b/Source/CAVEOverlay/Private/CAVEOverlayController.cpp @@ -184,7 +184,7 @@ void ACAVEOverlayController::BeginPlay() //Read situation if (IDisplayCluster::Get().GetOperationMode() == EDisplayClusterOperationMode::Cluster) { auto ClusterConfigCustom = IDisplayCluster::Get().GetConfigMgr()->GetConfigCustom(); - bCAVE_Mode = ClusterConfigCustom.Args.Contains("Hardware_Platform") && ClusterConfigCustom.Args.Find("Hardware_Platform")->ToLower().Compare("aixcave"); + bCAVE_Mode = ClusterConfigCustom.Args.Contains("Hardware_Platform") && ClusterConfigCustom.Args.Find("Hardware_Platform")->Equals("aixcave", ESearchCase::IgnoreCase); } if (!bCAVE_Mode) return; // Not our business