mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-05 01:38:13 +00:00
Merge remote-tracking branch 'public/hotfix-hook_NetVars' into next
This commit is contained in:
commit
04c1a507ba
1 changed files with 2 additions and 2 deletions
|
|
@ -737,7 +737,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;
|
||||
}
|
||||
|
|
@ -884,7 +884,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…
Add table
Reference in a new issue