From bdafe0e4552e01b07b93603a40598562a57e1c1d Mon Sep 17 00:00:00 2001 From: rude Date: Wed, 24 Feb 2010 20:47:56 +0100 Subject: [PATCH] Globals?! When did Bartbes the Sex Machine abandon reason for MADNESS? --- src/modules/thread/sdl/Thread.cpp | 3 --- 1 file changed, 3 deletions(-) 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));