mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-12 21:10:37 +00:00
Fix fallout from #114: T is the right thread to use
This commit is contained in:
parent
278e848cc2
commit
98fa75e911
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ static std::string runCode(lua_State* L, const std::string& source)
|
|||
{
|
||||
error = "thread yielded unexpectedly";
|
||||
}
|
||||
else if (const char* str = lua_tostring(L, -1))
|
||||
else if (const char* str = lua_tostring(T, -1))
|
||||
{
|
||||
error = str;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue