diff --git a/src/vtm.hpp b/src/vtm.hpp index 9f23f3a570..a9739749b0 100644 --- a/src/vtm.hpp +++ b/src/vtm.hpp @@ -1938,10 +1938,11 @@ namespace netxs::app::vtm } ::lua_pop(lua, 1); // Pop val2. } - ::lua_pop(lua, 1); // Pop val. - continue; } - add_item(key, val); + else + { + add_item(key, val); + } } ::lua_pop(lua, 1); // Pop val. }