Skip to content

Commit

Permalink
fix:
Browse files Browse the repository at this point in the history
  • Loading branch information
GuoWQ222 committed May 8, 2024
1 parent ec86ecf commit 95a2f64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion logic/Server/GameServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ protected void SendGameResult(int[] scores, bool crashed) // 天梯的 Server

protected double[] PullScore(double[] scores)
{

string? url2 = Environment.GetEnvironmentVariable("SCORE_URL");
if (url2 != null)
{
Expand All @@ -144,6 +143,8 @@ protected double[] PullScore(double[] scores)
else
{
double[] final = LadderCalculate(org, scores);
final[0] -= org[0];
final[1] -= org[1];
return final;
}
}
Expand Down

0 comments on commit 95a2f64

Please sign in to comment.