Project

General

Profile

« Previous | Next » 

Revision f4f784ad

Added by Leszek Koltunski about 3 years ago

Bugfix: we shouldn't be calling TwsityObject.solve() directly from the app, only through ObjectControl.solveOnly().

View differences:

src/main/java/org/distorted/screens/RubikScreenSolution.java
54 54

  
55 55
  void leaveScreen(RubikActivity act)
56 56
    {
57
    TwistyObject object = act.getObject();
58
    object.solve();
57
    ObjectControl control = act.getControl();
58
    control.solveOnly();
59 59
    }
60 60

  
61 61
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff