Many tweaks and fixes relating to AngelScript, implements shininess.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-02-01 16:56:09 +01:00
parent cade351bc2
commit f33d96d922
21 changed files with 458 additions and 61 deletions

View File

@@ -26,7 +26,9 @@ public:
return find->second;
}
auto func = _type->GetMethodByName(functionName.c_str());
func->AddRef();
if (func != nullptr){
func->AddRef();
}
_functions.insert({functionName, func});
return func;
}