From e3203624090dbe3ab68199a8f764baf49b2f8957 Mon Sep 17 00:00:00 2001 From: Kyep <16434066+Kyep@users.noreply.github.com> Date: Tue, 20 Oct 2020 03:26:54 +0000 Subject: [PATCH] fixes horrible loop in client/Topic (#14669) Co-authored-by: Kyep --- code/modules/client/client_procs.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/client/client_procs.dm b/code/modules/client/client_procs.dm index 3f0ffc86498..ba68ebc4c57 100644 --- a/code/modules/client/client_procs.dm +++ b/code/modules/client/client_procs.dm @@ -264,6 +264,7 @@ to_chat(src, "SSD warning acknowledged.") if(href_list["link_forum_account"]) link_forum_account() + return // prevents a recursive loop where the ..() 5 lines after this makes the proc endlessly re-call itself switch(href_list["action"]) if("openLink") src << link(href_list["link"])