diff --git a/src/Etterna/Singletons/LuaManager.cpp b/src/Etterna/Singletons/LuaManager.cpp index 3a91603822..5d91253754 100644 --- a/src/Etterna/Singletons/LuaManager.cpp +++ b/src/Etterna/Singletons/LuaManager.cpp @@ -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.