mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53:48 +00:00
Add missing call to CInterface::IsMethod
This commit is contained in:
parent
97edf1ae34
commit
55f459cf2d
1 changed files with 5 additions and 0 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue