diff --git a/src/core/org/luaj/vm/LuaState.java b/src/core/org/luaj/vm/LuaState.java index b3b5fad0..b6d08e7c 100644 --- a/src/core/org/luaj/vm/LuaState.java +++ b/src/core/org/luaj/vm/LuaState.java @@ -836,7 +836,7 @@ public class LuaState extends Lua { continue; } case LuaState.OP_CLOSE: { - closeUpVals( a ); // close upvals higher in the stack than position a + closeUpVals( base + a ); // close upvals higher in the stack than position a continue; } case LuaState.OP_CLOSURE: { diff --git a/version.properties b/version.properties index 692c9c06..5cb2ca00 100644 --- a/version.properties +++ b/version.properties @@ -1 +1 @@ -version: 0.18 \ No newline at end of file +version: 0.19