aboutsummaryrefslogtreecommitdiff
path: root/src/deep.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/deep.cpp')
-rw-r--r--src/deep.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/deep.cpp b/src/deep.cpp
index 97442cf..9538fdf 100644
--- a/src/deep.cpp
+++ b/src/deep.cpp
@@ -259,8 +259,7 @@ void DeepFactory::PushDeepProxy(DestState const L_, DeepPrelude* const prelude_,
259 LuaError const _require_result{ lua_pcall(L_, 1, 0, 0) }; // L_: DPC proxy metatable error? 259 LuaError const _require_result{ lua_pcall(L_, 1, 0, 0) }; // L_: DPC proxy metatable error?
260 if (_require_result != LuaError::OK) { 260 if (_require_result != LuaError::OK) {
261 // failed, raise the error in the proper state 261 // failed, raise the error in the proper state
262 std::ignore = luaG_pushstringview(errL_, luaG_tostringview(L_, -1)); 262 raise_luaL_error(errL_, luaG_tostringview(L_, -1));
263 raise_lua_error(errL_);
264 } 263 }
265 } 264 }
266 } else { // already loaded, we are happy 265 } else { // already loaded, we are happy