summaryrefslogtreecommitdiff
path: root/script/core/guide.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/guide.lua')
-rw-r--r--script/core/guide.lua14
1 files changed, 0 insertions, 14 deletions
diff --git a/script/core/guide.lua b/script/core/guide.lua
index e23fbf0e..b2f13a80 100644
--- a/script/core/guide.lua
+++ b/script/core/guide.lua
@@ -1399,10 +1399,6 @@ function m.getCallAndArgIndex(callarg)
end
end
local call = callargs.parent
- local node = call.node
- if node.type == 'getmethod' then
- index = index + 1
- end
return call, index
end
@@ -1429,16 +1425,6 @@ function m.getCallValue(source)
or call.node.special == 'xpcall' then
return call.args and call.args[1], call.args, index - 1
end
- if call.node.type == 'getmethod' then
- local args = {}
- args[1] = call.node.node
- if call.args then
- for _, arg in ipairs(call.args) do
- args[#args+1] = arg
- end
- end
- return call.node, args, index
- end
return call.node, call.args, index
end