Temporary fix for UdpMessaging being referenced from targets that don't have the plugin enabled.

[CL 2520119 by Ben Marsh in Main branch]
This commit is contained in:
Ben Marsh
2015-04-21 17:42:01 -04:00
committed by Ben.Marsh@epicgames.com
parent 8489620e8d
commit 7b6a7d2e89

View File

@@ -2846,6 +2846,10 @@ namespace UnrealBuildTool
else
{
ModuleType = UEBuildModule.GetEngineModuleTypeBasedOnLocation(ModuleName, ModuleType, ModuleFileRelativeToEngineDirectory);
if (ModuleName == "UdpMessaging")
{
ModuleType = UEBuildModuleType.Runtime;
}
if (ModuleType == UEBuildModuleType.Unknown)
{
throw new BuildException("Unable to determine module type for {0}", ModuleFileName);