Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MihailRis committed Jan 7, 2025
1 parent e2bc168 commit e94b70f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/logic/scripting/lua/lua_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,10 @@ scripting::common_func lua::create_lambda(State* L) {
}
if (call(L, args.size(), 1)) {
auto result = tovalue(L, -1);
pop(L);
pop(L, 2);
return result;
}
pop(L);
return nullptr;
};
}
Expand Down

0 comments on commit e94b70f

Please sign in to comment.