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