Fixes for script binding not working

This commit is contained in:
2019-01-20 22:27:47 +01:00
parent 20dfcf6ec6
commit b9183be4e7
4 changed files with 8 additions and 6 deletions

View File

@@ -84,7 +84,10 @@ namespace Upsilon.BoundTypes
else
{
methods.Add(methodName,
new UserDataBoundMethod(methodName, new List<UserDataBoundMethodOption>() {option}));
new UserDataBoundMethod(methodName, new List<UserDataBoundMethodOption>() {option})
{
Type = Type.Function
});
}
}