From 19ae7756522a4455d5350181da661effd3f137d8 Mon Sep 17 00:00:00 2001 From: Akita Noek Date: Fri, 22 Dec 2023 09:36:02 -0700 Subject: [PATCH] Fix variation links now working when linking to root level moves --- src/views/Game/GameChat.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Game/GameChat.tsx b/src/views/Game/GameChat.tsx index 68ff076cdc..f9e82c82da 100644 --- a/src/views/Game/GameChat.tsx +++ b/src/views/Game/GameChat.tsx @@ -670,7 +670,7 @@ function MarkupChatLine({ line }: { line: ChatLine }): JSX.Element { } else { orig_marks = null; } - if (moves) { + if (moves || moves === "") { goban.engine.followPath(parseInt(turn as any), moves); }