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 4eb662e commit a80ead7Copy full SHA for a80ead7
src/mixin/__FCMBase.lua
@@ -28,7 +28,10 @@ and get a default return value in that case.
28
]]
29
function methods:_FallbackCall(method_name, fallback_value, ...)
30
if not self[method_name] then
31
- return fallback_value or self
+ if fallback_value ~= nil then
32
+ return fallback_value
33
+ end
34
+ return self
35
end
36
37
return self[method_name](self, ...)
0 commit comments