Skip to content

Commit

Permalink
bugfix: SSD acknowledgement now do not send tons of messages. (#3846)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladisvell authored Nov 9, 2023
1 parent fd5cc33 commit 55566c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/modules/client/client_procs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@

if(href_list["ssdwarning"])
ssd_warning_acknowledged = TRUE
to_chat(src, "<span class='notice'>SSD warning acknowledged.</span>")
to_chat(src, span_notice("SSD warning acknowledged."))
return //Otherwise, we will get 30+ messages of acknowledgement.
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
Expand Down

0 comments on commit 55566c6

Please sign in to comment.