From 3e23580b089650749ed3d3309340e9df0973ae0e Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Sat, 23 Mar 2024 13:01:40 +0000 Subject: [PATCH] ignore old 0 replay salts --- store/getGcData.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/store/getGcData.ts b/store/getGcData.ts index 35ae299c3..f6575fd50 100644 --- a/store/getGcData.ts +++ b/store/getGcData.ts @@ -72,7 +72,8 @@ async function saveGcData( // Steam is blocking this match for community prediction, so return error to prevent retry return 'x-match-noretry'; } - if (!data || !data.match || !data.match.replay_salt || !data.match.players) { + if (!data || !data.match || !data.match.players || (!data.match.replay_salt && data.match.replay_state !== 'REPLAY_EXPIRED')) { + // Really old matches have a 0 replay salt so if the replay is expired it's a valid response // Bad data but we can retry throw new Error('invalid data'); }