diff --git a/Engine/source/console/consoleFunctions.cpp b/Engine/source/console/consoleFunctions.cpp index e54b4c5ae..2b04236b1 100644 --- a/Engine/source/console/consoleFunctions.cpp +++ b/Engine/source/console/consoleFunctions.cpp @@ -30,6 +30,7 @@ #include "console/consoleFunctions.h" #endif +#include "cinterface/cinterface.h" #include "core/strings/findMatch.h" #include "core/strings/stringUnit.h" #include "core/strings/unicode.h" @@ -2426,6 +2427,10 @@ DefineEngineFunction( isMethod, bool, ( const char* nameSpace, const char* metho "@return True if the method exists, false if not\n" "@ingroup Scripting\n") { + if (CInterface::isMethod(nameSpace, method)) { + return true; + } + Namespace* ns = Namespace::find( StringTable->insert( nameSpace ) ); Namespace::Entry* nse = ns->lookup( StringTable->insert( method ) ); if( !nse )