fixes horrible loop in client/Topic (#14669)

Co-authored-by: Kyep <Kyep@users.noreply.github.com>
This commit is contained in:
Kyep
2020-10-19 23:26:54 -04:00
committed by GitHub
co-authored by Kyep
parent 22da0d5aea
commit e320362409
+1
View File
@@ -264,6 +264,7 @@
to_chat(src, "<span class='notice'>SSD warning acknowledged.</span>")
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"])