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
@@ -666,7 +666,7 @@ public:
if( SCREENMAN )
{
lua_pushstring(L, "SCREENMAN");
SCREENMAN->PushSelf( LUA->L );
SCREENMAN->PushSelf( L );
lua_settable(L, LUA_GLOBALSINDEX);
}
}