ketsuekiro / manialive

Automatically exported from code.google.com/p/manialive
GNU Lesser General Public License v3.0
0 stars 0 forks source link

onPlayerNewBestTime works only on First Challange #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Play one Track
2. Pass to another one
3. If the new track is longer you will probably notice it

Please provide any additional information below.
adding this line

foreach($this->players as $player){
         $player->rank = -1;
         $player->score = 0;
         $player->bestTime = 0;
      }

in ManiaLive Data Storage in the method onBeginChallenge solves the problem. 
But I suppose there is more stuff there that need to be reseted. I just reseted 
what might affect 

Original issue reported on code.google.com by oliver...@gmail.com on 9 Jun 2011 at 6:54

GoogleCodeExporter commented 8 years ago
fixed in r226

Original comment by melot.philippe on 10 Jun 2011 at 8:00