Skip to content

Commit 9373a63

Browse files
committed
1 parent 44a94c1 commit 9373a63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/script.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -497,8 +497,8 @@ void script_copy_value(lua_State *src, lua_State *dst, int index) {
497497
lua_newtable(dst);
498498
lua_pushnil(src);
499499
while (lua_next(src, index - 1)) {
500-
script_copy_value(src, dst, -1);
501500
script_copy_value(src, dst, -2);
501+
script_copy_value(src, dst, -1);
502502
lua_settable(dst, -3);
503503
lua_pop(src, 1);
504504
}

0 commit comments

Comments
 (0)