refactors most spans

This commit is contained in:
Kashargul
2024-10-02 21:10:31 +02:00
parent 5417c7772c
commit a2c673ab7a
1517 changed files with 12436 additions and 12347 deletions
+3 -3
View File
@@ -57,7 +57,7 @@
/mob/proc/say_dead(var/message)
if(say_disabled) //This is here to try to identify lag problems
to_chat(usr, "<span class='danger'>Speech is currently admin-disabled.</span>")
to_chat(usr, span_danger("Speech is currently admin-disabled."))
return
if(!client)
@@ -65,11 +65,11 @@
if(!client.holder)
if(!config.dsay_allowed)
to_chat(src, "<span class='danger'>Deadchat is globally muted.</span>")
to_chat(src, span_danger("Deadchat is globally muted."))
return
if(!client?.prefs?.read_preference(/datum/preference/toggle/show_dsay))
to_chat(usr, "<span class='danger'>You have deadchat muted.</span>")
to_chat(usr, span_danger("You have deadchat muted."))
return
message = encode_html_emphasis(message)