diff --git a/Plugins/UEWingman/Source/UEWingman/Handlers/Property_Set2.h b/Plugins/UEWingman/Source/UEWingman/Handlers/Property_Set2.h index 307ffad2..2844d159 100644 --- a/Plugins/UEWingman/Source/UEWingman/Handlers/Property_Set2.h +++ b/Plugins/UEWingman/Source/UEWingman/Handlers/Property_Set2.h @@ -53,7 +53,7 @@ public: for (const auto& Pair : Properties.Json->Values) { TSharedPtr* P = WingUtils::FindOneWithExternalID(Pair.Key, Handles, TEXT("Property")); - if (P && WingPropHandle::SetJson(**P, Pair.Value)) SuccessCount++; + if (WingPropHandle::SetJson(**P, Pair.Value)) SuccessCount++; } UWingServer::Printf(TEXT("Set %d/%d properties.\n"), SuccessCount, Properties.Json->Values.Num());