Merge pull request #469 from Blizzard/call-array-fix
fix bug when callArray gets called with nil.
This commit is contained in:
commit
eb4741d6b1
@ -103,10 +103,12 @@
|
||||
if type(funcs) == "function" then
|
||||
funcs = funcs(...)
|
||||
end
|
||||
if funcs then
|
||||
for i = 1, #funcs do
|
||||
funcs[i](...)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
-- TODO: THIS IMPLEMENTATION IS GOING AWAY
|
||||
|
Loading…
Reference in New Issue
Block a user