more clever call results

This commit is contained in:
p.kosyh 2010-07-09 12:56:49 +00:00
parent 7a61a5f06a
commit f5af59c535

View file

@ -727,7 +727,7 @@ function call(v, n, ...)
-- boolean, nil
if type(a) == 'boolean' and b == nil then
b, a = a, stead.pget()
if a == nil then
if a == nil and not cctx().action then
a = b
b = nil
end