[q2x] OT: Lua questions
Brian Hook
hook_l at pyrogon.com
Thu Jan 22 02:20:10 EST 2004
Oh great and mystical Lua gods, wtf am I doing wrong here?
It's crashing out when I call the update function from C, but if I
comment out the 'for', it's fine:
clients = {}
function update(cx)
-- iterate over all active clients and do the right thing
for a,b in clients do
end
end
Now, "clients" might be empty, but I thought it would handle that
correctly, no? Am I missing something horribly obvious?
Is there any fucking way to get Lua to tell me WHY it's dying either
during compilation or execution?!
Brian
More information about the q2x
mailing list