Browse Source

Merge pull request #555 from eesast/dev

chore: wait for sending msg
tags/v0.1.0
Changli Tang GitHub 2 years ago
parent
commit
cad04684a4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      logic/Server/GameServer.cs

+ 2
- 2
logic/Server/GameServer.cs View File

@@ -102,10 +102,10 @@ namespace Server
} }
} }
} }
protected virtual void SendGameResult() // 天梯的 Server 给网站发消息记录比赛结果
protected void SendGameResult() // 天梯的 Server 给网站发消息记录比赛结果
{ {
int[] scores = GetScore(); int[] scores = GetScore();
httpSender?.SendHttpRequest(scores);
httpSender?.SendHttpRequest(scores).Wait();
} }


private void OnGameEnd() private void OnGameEnd()


Loading…
Cancel
Save