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