Browse Source

Globals?! When did Bartbes the Sex Machine abandon reason for MADNESS?

rude 15 years ago
parent
commit
bdafe0e455
1 changed files with 0 additions and 3 deletions
  1. 0 3
      src/modules/thread/sdl/Thread.cpp

+ 0 - 3
src/modules/thread/sdl/Thread.cpp

@@ -42,9 +42,6 @@ namespace sdl
 		luaopen_love(L);
 		luaopen_love(L);
 	#endif // LOVE_BUILD_STANDALONE
 	#endif // LOVE_BUILD_STANDALONE
 		luaopen_love_thread(L);
 		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)
 		if(luaL_dostring(L, comm->getCode()) == 1)
 		{
 		{
 			ThreadVariant *v = new ThreadVariant(lua_tostring(L, -1));
 			ThreadVariant *v = new ThreadVariant(lua_tostring(L, -1));