Project

General

Profile

« Previous | Next » 

Revision 83018ac4

Added by Leszek Koltunski almost 2 years ago

Correct the MAX level in the leaderboard.

View differences:

src/main/java/org/distorted/external/RubikScores.java
238 238

  
239 239
  public synchronized boolean setRecord(int object, int level, long record)
240 240
    {
241
    int key = mapKey(object,level)-1; // -1 - historical reasons; previous versions saved it like this.
241
    int key = mapKey(object,level);
242 242
    MapValue oldValue = mMap.get(key);
243 243

  
244 244
    if( oldValue==null )

Also available in: Unified diff