From e6d55617dfa7713f454fa9473d96f6f1467c5e61 Mon Sep 17 00:00:00 2001 From: Frederico Santos Date: Wed, 6 Nov 2024 00:33:25 +0000 Subject: [PATCH] fix: Update session metrics processing to exclude GameMode 3 for WaveIndex 1 --- api/savedata/update.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/savedata/update.go b/api/savedata/update.go index a1c2c65..6f99553 100644 --- a/api/savedata/update.go +++ b/api/savedata/update.go @@ -85,7 +85,7 @@ func ProcessSessionMetrics(save defs.SessionSaveData, username string) { } } - if save.WaveIndex == 1 { + if save.WaveIndex == 1 && save.GameMode != 3 { party := "" for i := 0; i < len(save.Party); i++ { partyMember, ok := save.Party[i].(map[string]interface{})