diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lapi.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lapi.js b/src/lapi.js index 46c7e2b..eeb4137 100644 --- a/src/lapi.js +++ b/src/lapi.js @@ -483,7 +483,7 @@ const lua_newuserdata = function(L, size) { assert(L.top <= L.ci.top, "stack overflow"); - return L.stack[L.top - 1].value; + return box; }; const aux_upvalue = function(L, fi, n) { |