aboutsummaryrefslogtreecommitdiff
path: root/nomsu_decompiler.lua
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2018-11-10 00:29:25 -0800
committerBruce Hill <bruce@bruce-hill.com>2018-11-10 00:29:25 -0800
commit65ec3f597f0f39e01fa44a14ea4971c797a015c2 (patch)
treea1b93eac5aae016b602c2028672bb10ca1d8ed25 /nomsu_decompiler.lua
parent1b9d57844ede419488ae62ba94c081f6cf2e8a05 (diff)
Recompile
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