luainstance.cpp: init var

Origin commit data
------------------
Branch: ni/coolstream
Commit: 9dcab61927
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2020-01-21 (Tue, 21 Jan 2020)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2020-01-21 22:01:42 +01:00
committed by vanhofen
parent 026cf29c07
commit 6f2b769c54

View File

@@ -644,7 +644,7 @@ void LuaInstRegisterFunctions(lua_State *L, bool fromThreads/*=false*/)
{ NULL, NULL }
};
// ------------------------------------------
int top;
int top = 0;
if (fromThreads)
top = lua_gettop(L);