diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2018-11-10 00:29:25 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2018-11-10 00:29:25 -0800 |
| commit | 65ec3f597f0f39e01fa44a14ea4971c797a015c2 (patch) | |
| tree | a1b93eac5aae016b602c2028672bb10ca1d8ed25 | |
| parent | 1b9d57844ede419488ae62ba94c081f6cf2e8a05 (diff) | |
Recompile
| -rw-r--r-- | nomsu_decompiler.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu_decompiler.lua b/nomsu_decompiler.lua index 2deaa7f..9880014 100644 --- a/nomsu_decompiler.lua +++ b/nomsu_decompiler.lua @@ -236,7 +236,7 @@ tree_to_nomsu = function(tree) nomsu:append("\n\n" .. tostring(("~"):rep(80)) .. "\n\n") end if chunk.type == "Block" then - nomsu:append(NomsuCode:from(chunk.source, unpack(tree_to_nomsu(chunk).bits, 2))) + nomsu:append(NomsuCode:from(chunk.source, table.unpack(tree_to_nomsu(chunk).bits, 2))) else nomsu:append(tree_to_nomsu(chunk)) end |
