Skip to content
Snippets Groups Projects

Hotfix for NetVars Lua hook.

Closed Yukita Mayako requested to merge hotfix-hook_NetVars into master
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -743,7 +743,7 @@ static int NetArchive(lua_State *L)
{
int TABLESINDEX = lua_upvalueindex(1);
int i, n = lua_gettop(L);
for (i = 0; i < n; i++)
for (i = 1; i <= n; i++)
ArchiveValue(TABLESINDEX, i);
return n;
}
@@ -893,7 +893,7 @@ static int NetUnArchive(lua_State *L)
{
int TABLESINDEX = lua_upvalueindex(1);
int i, n = lua_gettop(L);
for (i = 0; i < n; i++)
for (i = 1; i <= n; i++)
UnArchiveValue(TABLESINDEX);
return n;
}
Loading