Provide an empty table to Internal.New if args is nil to keep NLua happy
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
OpenRA = { }
|
||||
|
||||
OpenRA.New = function(className, args)
|
||||
if args == nil then
|
||||
args = { }
|
||||
end
|
||||
return Internal.New(className, args)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user