Fix fallout from #114: T is the right thread to use
This commit is contained in:
parent
278e848cc2
commit
98fa75e911
|
@ -175,7 +175,7 @@ static std::string runCode(lua_State* L, const std::string& source)
|
||||||
{
|
{
|
||||||
error = "thread yielded unexpectedly";
|
error = "thread yielded unexpectedly";
|
||||||
}
|
}
|
||||||
else if (const char* str = lua_tostring(L, -1))
|
else if (const char* str = lua_tostring(T, -1))
|
||||||
{
|
{
|
||||||
error = str;
|
error = str;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue