We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4a8137 commit d370fdfCopy full SHA for d370fdf
lua/autorun/tinylua.lua
@@ -144,7 +144,7 @@ end
144
function INTERNAL:map(input)
145
local eval = buildParser(input)
146
return performCall(self, function(results, source, ent)
147
- local rets = pack(eval(ent))
+ local rets = pack(eval(ent, source))
148
if #rets ~= 1 then
149
for _, val in pairs(rets) do
150
table.insert(results, val)
@@ -158,7 +158,7 @@ end
158
function INTERNAL:filter(input)
159
160
161
- if eval(ent) then
+ if eval(ent, source) then
162
results[source] = ent
163
end
164
end)
0 commit comments