clean up singleton registration: if you were given an L, use it

This commit is contained in:
Glenn Maynard
2005-06-15 02:21:24 +00:00
parent 75bc1eea92
commit d1241420d6
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -933,7 +933,7 @@ public:
if( THEME )
{
lua_pushstring(L, "THEME");
THEME->PushSelf( LUA->L );
THEME->PushSelf( L );
lua_settable(L, LUA_GLOBALSINDEX);
}
}