diff --git a/lua.go b/lua.go index 781c35b..60a65f7 100644 --- a/lua.go +++ b/lua.go @@ -80,6 +80,5 @@ func tailMethodCall( if err != nil { return nil, err } - err = rt.Call(t, m, append([]rt.Value{obj}, args...), c.Next()) - return c.Next(), err + return nil, rt.Call(t, m, append([]rt.Value{obj}, args...), c.Next()) }