make it so the HTML5 platform returns null if the SDK is not installed

#ue4
#html5

[CL 2111888 by Peter Sauerbrei in Main branch]
This commit is contained in:
Peter Sauerbrei
2014-06-20 12:07:15 -04:00
committed by UnrealBot
parent c9bb631ad6
commit b4ed78a76c

View File

@@ -40,6 +40,12 @@ public:
{
// finally, make the interface object
Singleton = new FHTML5TargetPlatform();
FString OutPath;
if (!Singleton->IsSdkInstalled(false, OutPath))
{
delete Singleton;
Singleton = NULL;
}
}
return Singleton;