> > At runtime you're probably using lua_pcall to call update? E.g. > > Actually I was using lua_call, but I'll switch to pcall now, thanks! You can also get a full call stack using the debug library when you do get an error... Bah, that isn't in the wiki tutorial yet!