|
@@ -72,7 +72,11 @@ namespace GFGGame
|
|
|
_ui.m_c1.selectedIndex = (int)(this.viewData as object[])[0];
|
|
|
// For change m_comSearch.m_c1
|
|
|
_ui.m_comSearch.m_c1.selectedIndex = (int)(this.viewData as object[])[1];
|
|
|
- _IsTeaPart = (int)(this.viewData as object[])[2] == 1;
|
|
|
+ if((this.viewData as object[]).Length > 2)
|
|
|
+ {
|
|
|
+ _IsTeaPart = (int)(this.viewData as object[])[2] == 1;
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
_selectRarityList = DressUpMenuItemDataManager.selectRarityList;// new List<int>();
|