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