|
@@ -731,6 +731,11 @@ namespace GFGGame
|
|
|
//加入答题
|
|
|
public static async ETTask<bool> ReqJoinAnswer()
|
|
|
{
|
|
|
+ if (LeagueDataManager.Instance.GetNumeriValue(LeagueNumericType.LeagueQuestionStatus) ==
|
|
|
+ LeagueQuestionStatus.End)
|
|
|
+ {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
S2C_JoinAnswer response = null;
|
|
|
response = (S2C_JoinAnswer)await MessageHelper.SendToServer(new C2S_JoinAnswer() { RoleId = RoleDataManager.roleId });
|
|
|
if (response != null)
|