struct leaderboard_cache *board = &world->leaderboard_cache[ route_id ];
board->status = status;
- if( body == NULL )
+ if( body == NULL ){
board->data_len = 0;
+ return;
+ }
if( body->max > NETWORK_LEADERBOARD_MAX_SIZE ){
vg_error( "Scoreboard leaderboard too big (%u>%u)\n", body->max,