We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e8c235 commit fd16310Copy full SHA for fd16310
1 file changed
src/clientProxy.luau
@@ -27,11 +27,11 @@ return function(constructor, ...)
27
return reservedFunctions[index]
28
end
29
30
- local foundMethod = constructor[index]
31
- logger.assert(foundMethod ~= nil, `Effect is missing method "{index}" to call!`)
+ local found = effect[index]
+ logger.assert(found ~= nil, `Effect is missing method "{index}" to call!`)
32
logger.assert(not effect.IsDestroyed, `Cannot :{index}() after effect has been destroyed.`)
33
34
- return foundMethod
+ return found
35
36
37
function mt.__newindex(_self, index)
0 commit comments