Revision 53f23b64
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/uistate/RubikStateSolving.java | ||
---|---|---|
29 | 29 |
|
30 | 30 |
import org.distorted.magic.R; |
31 | 31 |
import org.distorted.magic.RubikActivity; |
32 |
import org.distorted.object.RubikObjectList; |
|
32 | 33 |
import org.distorted.scores.RubikScores; |
33 | 34 |
|
34 | 35 |
import java.util.Timer; |
... | ... | |
173 | 174 |
int object = play.getObject(); |
174 | 175 |
int size = play.getSize(); |
175 | 176 |
int scramble= play.getPicker(); |
177 |
int realSize= RubikObjectList.getSizeIndex(object,size); |
|
176 | 178 |
|
177 |
boolean isNew = mScores.setRecord(object, size, scramble, timeTaken);
|
|
179 |
boolean isNew = mScores.setRecord(object, realSize, scramble, timeTaken);
|
|
178 | 180 |
|
179 | 181 |
return isNew ? timeTaken : -timeTaken; |
180 | 182 |
} |
Also available in: Unified diff
Progress with Pretty Patterns - do away with the tabbed dialog!