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 5a7cc02..8e94df8 100644
--- a/nomsu_decompiler.lua
+++ b/nomsu_decompiler.lua
@@ -186,7 +186,7 @@ tree_to_inline_nomsu = function(tree)
elseif "IndexChain" == _exp_0 then
local nomsu = NomsuCode:from(tree.source)
for i, bit in ipairs(tree) do
- if i > 1 then
+ if i > 1 and bit.type ~= "Index" then
nomsu:add(".")
end
local bit_nomsu