From 8d80b0f6cb8f00568ae455ee0af67c0da8e8ef95 Mon Sep 17 00:00:00 2001 From: Martin Natano Date: Fri, 25 Mar 2022 18:00:48 +0100 Subject: [PATCH] Hotfix 1.3.1: Fix crash when submitting scores as P2 --- build/installer.nsi | 2 +- internal/groovestats/client.go | 4 ++-- internal/version/version.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/installer.nsi b/build/installer.nsi index 420c18e..4830333 100644 --- a/build/installer.nsi +++ b/build/installer.nsi @@ -6,7 +6,7 @@ Unicode true !define VERSIONMAJOR 1 !define VERSIONMINOR 3 -!define VERSIONBUILD 0 +!define VERSIONBUILD 1 RequestExecutionLevel admin diff --git a/internal/groovestats/client.go b/internal/groovestats/client.go index e381008..fe63502 100644 --- a/internal/groovestats/client.go +++ b/internal/groovestats/client.go @@ -265,8 +265,8 @@ func (client *Client) scoreSubmit(request *fsipc.GsScoreSubmitRequest) (*ScoreSu Score: request.Player2.Score, Comment: request.Player2.Comment, Rate: request.Player2.Rate, - JudgmentCounts: request.Player1.JudgmentCounts, - UsedCmod: request.Player1.UsedCmod, + JudgmentCounts: request.Player2.JudgmentCounts, + UsedCmod: request.Player2.UsedCmod, } } diff --git a/internal/version/version.go b/internal/version/version.go index be54df4..5763833 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -5,7 +5,7 @@ import "fmt" // When updating this version number also update installer.nsi var Major int = 1 var Minor int = 3 -var Patch int = 0 +var Patch int = 1 var Protocol int = 1