From efea84248687b7eca9f3774e5151a452606a6d80 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Mon, 1 Feb 2021 16:23:57 +0100 Subject: [PATCH] Fix warning --- Source/Engine/Scripting/BinaryModule.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Engine/Scripting/BinaryModule.cpp b/Source/Engine/Scripting/BinaryModule.cpp index 689b552f8..d5df8947e 100644 --- a/Source/Engine/Scripting/BinaryModule.cpp +++ b/Source/Engine/Scripting/BinaryModule.cpp @@ -606,6 +606,8 @@ void ManagedBinaryModule::OnLoaded(MAssembly* assembly) for (int32 typeIndex = 0; typeIndex < Types.Count(); typeIndex++) { ScriptingType& type = Types[typeIndex]; + if (type.Type == ScriptingTypes::Interface) + continue; // TODO: generate C# class for interfaces in API ASSERT(type.ManagedClass == nullptr); // Cache class