Project

General

Profile

« Previous | Next » 

Revision 1f894991

Added by Leszek Koltunski about 4 years ago

Fix a nasty logic error that let people submit bogus results.

View differences:

src/main/java/org/distorted/main/RubikPostRender.java
154 154
      if( RubikState.getCurrentState()==RubikState.SOLV )
155 155
        {
156 156
        RubikStateSolving solving = (RubikStateSolving)RubikState.SOLV.getStateClass();
157
        mNewRecord = solving.stopCounting();
157
        mNewRecord = solving.getRecord();
158 158

  
159 159
        if( mNewRecord< 0 )
160 160
          {

Also available in: Unified diff