aboutsummaryrefslogtreecommitdiff
path: root/nomsu_decompiler.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nomsu_decompiler.lua')
-rw-r--r--nomsu_decompiler.lua2
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