From a6464d8067376b2a5eb7d4a52ccb4be07b4fce37 Mon Sep 17 00:00:00 2001 From: Miodec Date: Sat, 4 Mar 2023 12:03:14 +0100 Subject: [PATCH] fixed tag pbs with no funboxes not showing up --- frontend/src/ts/test/result.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/ts/test/result.ts b/frontend/src/ts/test/result.ts index 9f90efab7..6cfea4e36 100644 --- a/frontend/src/ts/test/result.ts +++ b/frontend/src/ts/test/result.ts @@ -471,7 +471,7 @@ async function updateTags(dontSave: boolean): Promise { if ( Config.mode != "quote" && !dontSave && - (funboxes.length === 0 || allFunboxesCanGetPb) + (result.funbox === "none" || funboxes.length === 0 || allFunboxesCanGetPb) ) { if (tpb < result.wpm) { //new pb for that tag @@ -735,7 +735,7 @@ export async function update( updateQuoteFavorite(randomQuote); await updateGraph(); await updateGraphPBLine(); - updateTags(dontSave); + await updateTags(dontSave); updateOther(difficultyFailed, failReason, afkDetected, isRepeated, tooShort); ((ChartController.result.options as PluginChartOptions<"line" | "scatter">)