Commit bb8e8478 authored by rakam's avatar rakam

Fix bug in backup loading

parent dcbe99e7
......@@ -171,12 +171,12 @@ public abstract class MatchActivity extends Activity {
automate = getAutomateInstance(service, sideLeftA);
}
syncManager = new ScoreSyncManager(this, automate);
Score initScore = automate.last().getScore();
if (initScore.isSideLeftA())
Point initPoint = automate.last();
if (initPoint.getScore().isSideLeftA())
setPlayerALeft();
else
setPlayerARight();
updateScore(new Point(initScore, null), true);
updateScore(initPoint, true);
fadeIn(null);
backButton.setOnClickListener(new View.OnClickListener() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment