mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-05 18:41:05 +00:00
[CSM] Don't load the IO library. (#6087)
* [CSM] Don't load the IO library. * Rename the function to match the Lua API function name and add a missing `const` * Add a comment to explain some strange code and fix the other issues pointed out by shadowninja.
This commit is contained in:
parent
e7396a0c50
commit
30821ad8de
6 changed files with 54 additions and 16 deletions
|
@ -198,6 +198,7 @@ void AsyncEngine::prepareEnvironment(lua_State* L, int top)
|
|||
AsyncWorkerThread::AsyncWorkerThread(AsyncEngine* jobDispatcher,
|
||||
const std::string &name) :
|
||||
Thread(name),
|
||||
ScriptApiBase(ScriptingType::Async),
|
||||
jobDispatcher(jobDispatcher)
|
||||
{
|
||||
lua_State *L = getStack();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue