Skip to content
Snippets Groups Projects
Commit bdca228e authored by John Schihada's avatar John Schihada
Browse files

Adjustment for Issue #50

parent 5f01d5b9
No related branches found
No related tags found
No related merge requests found
...@@ -104,7 +104,5 @@ void BuildScrolls(string jsonString) ...@@ -104,7 +104,5 @@ void BuildScrolls(string jsonString)
Scroll preferredStartScroll = this.scrolls.Find(x => x.label.Equals(preferredStartScrollName)); Scroll preferredStartScroll = this.scrolls.Find(x => x.label.Equals(preferredStartScrollName));
if(preferredStartScroll != null) if(preferredStartScroll != null)
this.DetailScreen.GetComponent<ScrollDetails>().setScroll(preferredStartScroll); this.DetailScreen.GetComponent<ScrollDetails>().setScroll(preferredStartScroll);
else
this.DetailScreen.GetComponent<ScrollDetails>().setScroll(this.scrolls[0]);
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment