|
@@ -69,13 +69,13 @@ namespace GFGGame
|
|
|
{
|
|
|
base.OnShown();
|
|
|
_dataManager = LeagueDataManager.Instance;
|
|
|
- UpdateQuestionState();
|
|
|
- UpdateChatList();
|
|
|
+
|
|
|
bool result = await LeagueSproxy.ReqJoinAnswer();
|
|
|
if (result)
|
|
|
{
|
|
|
UpdateJoinList();
|
|
|
}
|
|
|
+ UpdateQuestionState();
|
|
|
UpdateChatList();
|
|
|
Timers.inst.Add(1, 0, UpdateActiveTime);
|
|
|
}
|
|
@@ -147,7 +147,7 @@ namespace GFGGame
|
|
|
endTime = TimeUtil.GetCurDayTime(GlobalCfgArray.globalCfg.leagueQuestionEndTime);
|
|
|
str = "活动剩余时间 ";
|
|
|
}
|
|
|
- if (endTime - curTime < 0)
|
|
|
+ if (endTime - curTime < 0 && LeagueDataManager.Instance.GetNumeriValue(LeagueNumericType.LeagueQuestionStatus) == LeagueQuestionStatus.End)
|
|
|
{
|
|
|
Timers.inst.Remove(UpdateResultTime);
|
|
|
ViewManager.GoBackFrom(typeof(LeagueAnsweringView).FullName);
|