clean up singleton registration: if you were given an L, use it
This commit is contained in:
@@ -252,7 +252,7 @@ public:
|
||||
if( STATSMAN )
|
||||
{
|
||||
lua_pushstring(L, "STATSMAN");
|
||||
STATSMAN->PushSelf( LUA->L );
|
||||
STATSMAN->PushSelf( L );
|
||||
lua_settable(L, LUA_GLOBALSINDEX);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user