Skip to content

Commit

Permalink
-package
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Jun 17, 2024
1 parent f9599c6 commit 2c9c123
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Etterna/Singletons/LuaManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,12 @@ LuaManager::LuaManager()
nil_field("popen");
nil_field("tmpfile");
lua_pop(L, 1);
// package lib for ace
lua_getglobal(L, "package");
nil_field("loadlib");
nil_field("searchpath");
nil_field("seeall");
lua_pop(L, 1);
#undef nil_field

// Store the thread pool in a table on the stack, in the main thread.
Expand Down

0 comments on commit 2c9c123

Please sign in to comment.