git-svn-id: http://mc-server.googlecode.com/svn/trunk@281 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -174,7 +174,7 @@ static int tolua_cWorld_ForEachPlayer(lua_State* tolua_S)
|
||||
int TableRef;
|
||||
} Callback( tolua_S, FuncRef, TableRef );
|
||||
|
||||
bool bRetVal = self->ForEachPlayer( &Callback );
|
||||
bool bRetVal = self->ForEachPlayer( Callback );
|
||||
|
||||
// Unreference the values again, so the LUA_REGISTRYINDEX can make place for other references
|
||||
luaL_unref( tolua_S, LUA_REGISTRYINDEX, TableRef );
|
||||
|
||||
Reference in New Issue
Block a user