Fixed exception condition

This commit is contained in:
Immortale 2022-04-29 17:53:31 +03:00 committed by The Phantom Derpstorm
parent 2198d9374d
commit 385645222a

View File

@ -31,7 +31,7 @@
namespace sol { namespace sol {
namespace detail { namespace detail {
inline void stack_fail(int, int) { inline void stack_fail(int, int) {
#if SOL_IS_OFF(SOL_EXCEPTIONS_I_) #if SOL_IS_ON(SOL_EXCEPTIONS_I_)
throw error(detail::direct_error, "imbalanced stack after operation finish"); throw error(detail::direct_error, "imbalanced stack after operation finish");
#else #else
// Lol, what do you want, an error printout? :3c // Lol, what do you want, an error printout? :3c