From f8ff4ba70d78e39526251e220bc164440f2ba111 Mon Sep 17 00:00:00 2001 From: RaphaelIT7 Date: Sat, 18 Nov 2023 00:20:26 +0100 Subject: [PATCH] :| --- source/lua_threaded.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lua_threaded.cpp b/source/lua_threaded.cpp index 1c7b5e7..7e72bb4 100644 --- a/source/lua_threaded.cpp +++ b/source/lua_threaded.cpp @@ -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; }