diff options
Diffstat (limited to 'deep_test/deep_test.cpp')
-rw-r--r-- | deep_test/deep_test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/deep_test/deep_test.cpp b/deep_test/deep_test.cpp index 178075d..2497742 100644 --- a/deep_test/deep_test.cpp +++ b/deep_test/deep_test.cpp | |||
@@ -131,7 +131,8 @@ int luaD_new_deep(lua_State* L) | |||
131 | { | 131 | { |
132 | int const nuv{ static_cast<int>(luaL_optinteger(L, 1, 0)) }; | 132 | int const nuv{ static_cast<int>(luaL_optinteger(L, 1, 0)) }; |
133 | lua_settop(L, 0); | 133 | lua_settop(L, 0); |
134 | return MyDeepFactory::Instance.pushDeepUserdata(DestState{ L }, nuv); | 134 | MyDeepFactory::Instance.pushDeepUserdata(DestState{ L }, nuv); |
135 | return 1; | ||
135 | } | 136 | } |
136 | 137 | ||
137 | // ################################################################################################# | 138 | // ################################################################################################# |