Commit c162d48d authored by Isaac Brodsky's avatar Isaac Brodsky
Browse files

Fix nullable bool

parent b2f1afc5
......@@ -125,7 +125,7 @@ namespace NLua
// null can always be assigned to nullable
if (luatype == LuaTypes.Nil) {
// Return the correct extractor anyways
if (netParamIsNumeric)
if (netParamIsNumeric || paramType == typeof (bool))
return extractValues [extractKey];
return extractNetObject;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment