diff options
Diffstat (limited to 'src/lundump.js')
-rw-r--r-- | src/lundump.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lundump.js b/src/lundump.js index 1d2d079..5d158bd 100644 --- a/src/lundump.js +++ b/src/lundump.js @@ -204,7 +204,7 @@ class BytecodeParser { n = this.readInt(); for (let i = 0; i < n; i++) { f.locvars[i] = { - varname: new lobject.TValue(defs.CT.LUA_TLNGSTR, defs.to_luastring(this.readString())), + varname: defs.to_luastring(this.readString()), startpc: this.readInt(), endpc: this.readInt() }; |