You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
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:
committed by
UnrealBot
parent
c9bb631ad6
commit
b4ed78a76c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user