1
This commit is contained in:
parent
a1693dd959
commit
4f51fce27a
@ -906,17 +906,18 @@ namespace GameLogic
|
|||||||
WinAllValue = 0;
|
WinAllValue = 0;
|
||||||
ScoreAllValue = 0;
|
ScoreAllValue = 0;
|
||||||
|
|
||||||
// // 重置基地数据
|
|
||||||
// foreach (var item in m_TeamLists)
|
m_TeamSortList.Clear();
|
||||||
// {
|
|
||||||
// item.Value.OnDestroy();
|
|
||||||
// }
|
|
||||||
// m_TeamLists.Clear();
|
|
||||||
// m_TeamSortList.Clear();
|
|
||||||
|
|
||||||
// 重新执行初始化数据流程
|
// 重新执行初始化数据流程
|
||||||
OnInit();
|
OnInit();
|
||||||
|
|
||||||
|
// 重新打开UI界面
|
||||||
|
GameModule.UI.CloseUI<UIGameBattle>();
|
||||||
|
GameModule.UI.ShowUI<UIGameBattle>();
|
||||||
|
|
||||||
// 重置UI数据
|
// 重置UI数据
|
||||||
GameEvent.Send(EventConts.RestGameBattle);
|
GameEvent.Send(EventConts.RestGameBattle);
|
||||||
}
|
}
|
||||||
@ -1000,13 +1001,7 @@ namespace GameLogic
|
|||||||
// 重置玩家数据
|
// 重置玩家数据
|
||||||
m_DicUnitPlayerDatas.Clear();
|
m_DicUnitPlayerDatas.Clear();
|
||||||
|
|
||||||
// // 重置基地数据
|
m_TeamSortList.Clear();
|
||||||
// foreach (var item in m_TeamLists)
|
|
||||||
// {
|
|
||||||
// item.Value.OnDestroy();
|
|
||||||
// }
|
|
||||||
// m_TeamLists.Clear();
|
|
||||||
// m_TeamSortList.Clear();
|
|
||||||
m_GiftItemDatas.Clear();
|
m_GiftItemDatas.Clear();
|
||||||
m_VipItemDatas.Clear();
|
m_VipItemDatas.Clear();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user