aboutsummaryrefslogtreecommitdiff
path: root/src/allocator.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/allocator.hpp')
-rw-r--r--src/allocator.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/allocator.hpp b/src/allocator.hpp
index ce65a4b..b578f12 100644
--- a/src/allocator.hpp
+++ b/src/allocator.hpp
@@ -66,7 +66,7 @@ namespace lanes {
66 [[nodiscard]] 66 [[nodiscard]]
67 lua_State* newState() const 67 lua_State* newState() const
68 { 68 {
69 return lua_newstate(allocF, allocUD); 69 return luaW_newstate(allocF, allocUD, luaL_makeseed(nullptr));
70 } 70 }
71 71
72 [[nodiscard]] 72 [[nodiscard]]