diff --git a/sol/object.hpp b/sol/object.hpp index 8c7be910..6e1c9feb 100644 --- a/sol/object.hpp +++ b/sol/object.hpp @@ -47,7 +47,7 @@ public: } explicit operator bool() const { - return is(); + return !is(); } };