When automatically incrementing level after solved game, the global
variable to store the level number may be changed while the thread
to upload the score to the server is just using it, which may cause
the score to be submitted for the wrong level number.
To fix this, the (already existing) local variable with the level
number is used instead.
levelset_author,
leveldir_current->levels,
leveldir_current->first_level,
- level_nr,
+ nr,
level_name,
level_author,
level.rate_time_over_score,