Skip to content

Commit

Permalink
:|
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelIT7 committed Nov 17, 2023
1 parent 42e22f9 commit f8ff4ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/lua_threaded.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ LUA_FUNCTION(ILuaInterface_RunString)
ILuaInterface* IFace = Get(LUA, 1);

func_luaL_loadstring(IFace->GetState(), LUA->CheckString(2)); // ToDo: Change this. The Interface will be on another Thread so fix this!
lua_pcall(IFace->GetState(), 0, LUA_MULTRET, 0);
IFace->PCall(0, LUA_MULTRET, 0);

return 0;
}
Expand Down

0 comments on commit f8ff4ba

Please sign in to comment.