From 8853cef809dfff773090e64dc6734a8e7c954ad9 Mon Sep 17 00:00:00 2001 From: Anonymous-275 Date: Sun, 27 Jun 2021 14:29:55 +0300 Subject: [PATCH] TODO edit --- src/TLuaFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TLuaFile.cpp b/src/TLuaFile.cpp index 49129c0..6c058b1 100644 --- a/src/TLuaFile.cpp +++ b/src/TLuaFile.cpp @@ -653,7 +653,7 @@ int lua_Registered(lua_State* L) { if(auto it = TLuaEngine::mGlobals.find(info.name); it != TLuaEngine::mGlobals.end()){ lua_getglobal(it->second, info.name); if (lua_isfunction(it->second, -1)) { - lua_pcall(it->second, 0, 0, 0); //TODO revisit to allow arguments and return + lua_pcall(it->second, 0, 0, 0); //TODO revisit to allow arguments and return also we need to mutex this } return 0; }