diff --git a/src/modules/thread/sdl/Thread.cpp b/src/modules/thread/sdl/Thread.cpp index 602fad526..e18e7f4ff 100644 --- a/src/modules/thread/sdl/Thread.cpp +++ b/src/modules/thread/sdl/Thread.cpp @@ -42,9 +42,6 @@ namespace sdl luaopen_love(L); #endif // LOVE_BUILD_STANDALONE luaopen_love_thread(L); - lua_pushstring(L, comm->getName()); - luax_convobj(L, lua_gettop(L), "thread", "getThread"); - lua_setglobal(L, "thread"); if(luaL_dostring(L, comm->getCode()) == 1) { ThreadVariant *v = new ThreadVariant(lua_tostring(L, -1));