Merge branch 'master' into marshalling_scriptingobject_changes
# Conflicts: # Source/Engine/Engine/NativeInterop.Invoker.cs # Source/Engine/Engine/NativeInterop.Unmanaged.cs
This commit is contained in:
@@ -907,7 +907,7 @@ MMethod* MClass::GetMethod(const char* name, int32 numParams) const
|
||||
GetMethods();
|
||||
for (int32 i = 0; i < _methods.Count(); i++)
|
||||
{
|
||||
if (_methods[i]->GetName() == name && _methods[i]->GetParametersCount() == numParams)
|
||||
if (_methods[i]->GetParametersCount() == numParams && _methods[i]->GetName() == name)
|
||||
return _methods[i];
|
||||
}
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user