[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Table crash on callback
- From: "Wesley Smith" <wesley.hoke@...>
- Date: Thu, 22 Mar 2007 12:32:44 -0700
Here's another data point:
This crashes:
strings = {}
function collisionDetection(data, o1, o2)
strings[tostring(o1)] = true
end
This doesn't:
function collisionDetection(data, o1, o2)
local strings = {}
strings[tostring(o1)] = true
end
Is there an issue with scope and lua_call/lua_pcall in this situation
or could there be a potential bug?
wes