mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-28 06:28:01 +01:00
refactors most spans
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user