Browse Source

Update GameServer.cs

tags/v0.1.0
Changli Tang GitHub 2 years ago
parent
commit
932894480a
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 async Task SendGameResult() // 天梯的 Server 给网站发消息记录比赛结果
protected void SendGameResult() // 天梯的 Server 给网站发消息记录比赛结果
{
int[] scores = GetScore();
await httpSender?.SendHttpRequest(scores);
httpSender?.SendHttpRequest(scores).Wait();
}

private void OnGameEnd()


Loading…
Cancel
Save