|
@@ -115,7 +115,10 @@ namespace GFGGame
|
|
|
private void OnListCardItemClick(EventContext context)
|
|
|
{
|
|
|
UpdateView(_ui.m_listCard.selectedIndex);
|
|
|
- OnCardSelected(cardList[_ui.m_listCard.selectedIndex].id);
|
|
|
+ if (InstanceZonesDataManager.FightScene == ConstInstanceZonesType.Arena)
|
|
|
+ {
|
|
|
+ OnCardSelected(cardList[_ui.m_listCard.selectedIndex].id);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
private void OnCardSelected(int cardId)
|