Project

General

Profile

« Previous | Next » 

Revision 2e8ec627

Added by Leszek Koltunski about 4 years ago

Fixes for the fact that one could easily cheat - just pause the app while solving and come back to it, the time would reset to 0 and the object to unscrambled :(

View differences:

src/main/java/org/distorted/states/RubikStatePlay.java
280 280
              {
281 281
              mObject = obj;
282 282
              mSize   = sizes[size];
283
              act.changeObject(list,sizes[size],null);
283
              act.changeObject(list,sizes[size]);
284 284

  
285 285
              int sizeIndex = RubikObjectList.getSizeIndex(mObject,mSize);
286 286
              int maxLevel  = RubikObjectList.getMaxLevel(mObject, sizeIndex);

Also available in: Unified diff