[q2x] OT: Lua questions
Brian Hook
hook_l at pyrogon.com
Thu Jan 22 10:56:15 EST 2004
Nevermind...I typed in that code again and it worked. It's identical
too...odd.
Brian
On Thu, 22 Jan 2004 02:20:10 -0500, Brian Hook wrote:
> 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