From f7cef51835888fc88bbd10450fd446e8bc611902 Mon Sep 17 00:00:00 2001 From: Akita Noek Date: Thu, 28 Sep 2023 13:28:29 -0600 Subject: [PATCH] Fix missing [WB]+ prefix before 'Server Decision' in game history --- src/lib/misc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/misc.ts b/src/lib/misc.ts index 726ad1f935..fe5671c093 100644 --- a/src/lib/misc.ts +++ b/src/lib/misc.ts @@ -201,7 +201,7 @@ export function getGameResultText( return ""; } /* SGFs will encode the full result in the outcome */ - if (/[+]/.test(outcome)) { + if (/[+]/.test(outcome) && !/Server Decision/.test(outcome)) { return outcome; }