mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-10 22:00:54 +01: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";
|
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…
Add table
Reference in a new issue