aboutsummaryrefslogtreecommitdiff
path: root/src/universe.cpp
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-05-29 11:56:33 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-05-29 11:56:33 +0200
commitd9400c00c05590e0d0e40e6775dc338d28b92f14 (patch)
treed7cab3e197d9131555aa8e77f21e72b24a6e2040 /src/universe.cpp
parent05921ccb8205a4dcf1897dd8be9aa30a09e9a379 (diff)
downloadlanes-d9400c00c05590e0d0e40e6775dc338d28b92f14.tar.gz
lanes-d9400c00c05590e0d0e40e6775dc338d28b92f14.tar.bz2
lanes-d9400c00c05590e0d0e40e6775dc338d28b92f14.zip
Modernize serialize_require
Diffstat (limited to 'src/universe.cpp')
-rw-r--r--src/universe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/universe.cpp b/src/universe.cpp
index 620be79..172cc4c 100644
--- a/src/universe.cpp
+++ b/src/universe.cpp
@@ -287,7 +287,7 @@ void Universe::initializeKeepers(lua_State* L_)
287 luaL_requiref(_K, LUA_LOADLIBNAME, luaopen_package, 1); // L_: settings K: package 287 luaL_requiref(_K, LUA_LOADLIBNAME, luaopen_package, 1); // L_: settings K: package
288 lua_pop(_K, 1); // L_: settings K: 288 lua_pop(_K, 1); // L_: settings K:
289 STACK_CHECK(_K, 0); 289 STACK_CHECK(_K, 0);
290 serialize_require(_K); 290 tools::SerializeRequire(_K);
291 STACK_CHECK(_K, 0); 291 STACK_CHECK(_K, 0);
292 292
293 // copy package.path and package.cpath from the source state 293 // copy package.path and package.cpath from the source state