This commit is contained in:
Marco van Dijk 2023-11-03 13:36:33 +01:00
parent ff2b4ec16f
commit 12d42a72bb

View File

@ -497,6 +497,12 @@ const updateScore = async function (address) {
}, },
newSR newSR
); );
if (
!orchCache[address.toLowerCase()].leaderboardResults[instance.region]
) {
orchCache[address.toLowerCase()].leaderboardResults[instance.region] =
{};
}
orchCache[address.toLowerCase()].leaderboardResults[ orchCache[address.toLowerCase()].leaderboardResults[
instance.region instance.region
].latestRTR = newRTR; ].latestRTR = newRTR;