Provide an empty table to Internal.New if args is nil to keep NLua happy

This commit is contained in:
ScottNZ
2013-12-05 21:02:15 +13:00
parent 1cf1086122
commit 4ea217ef7b

View File

@@ -1,6 +1,9 @@
OpenRA = { }
OpenRA.New = function(className, args)
if args == nil then
args = { }
end
return Internal.New(className, args)
end