|
@@ -63,7 +63,7 @@ namespace GFGGame
|
|
else if (this.viewData != null && (this.viewData as object[]).Length > 1)
|
|
else if (this.viewData != null && (this.viewData as object[]).Length > 1)
|
|
{
|
|
{
|
|
subType = (int)(this.viewData as object[])[0];
|
|
subType = (int)(this.viewData as object[])[0];
|
|
- chapterIndex = (int)(this.viewData as object[])[1];
|
|
|
|
|
|
+ chapterIndex = Mathf.Max(1, (int)(this.viewData as object[])[1]);
|
|
}
|
|
}
|
|
_ui.m_listType.selectedIndex = subType;
|
|
_ui.m_listType.selectedIndex = subType;
|
|
_ui.m_listChapter.touchable = false;
|
|
_ui.m_listChapter.touchable = false;
|