[MIRROR] Fixes timestamp sorting incompatibility. (#7096)

Co-authored-by: Novacat <35587478+Novacat@users.noreply.github.com>
Co-authored-by: Nadyr <41974248+Darlantanis@users.noreply.github.com>
This commit is contained in:
CHOMPStation2
2023-10-24 18:19:12 -07:00
committed by GitHub
parent 4beb30f912
commit 7f1a89c8be
4 changed files with 5 additions and 4 deletions

View File

@@ -71,7 +71,8 @@
to_chat(src, "<span class='filter_notice'><I>... You can almost hear someone talking ...</I></span>") to_chat(src, "<span class='filter_notice'><I>... You can almost hear someone talking ...</I></span>")
else else
if(client.prefs.chat_timestamp) if(client.prefs.chat_timestamp)
to_chat(src,"[time] [msg]") msg = replacetext(msg, new/regex("^(<span(?: \[^>]*)?>)(.*</span>)", ""), "$1[time] $2")
to_chat(src,msg)
else if(teleop) else if(teleop)
to_chat(teleop, create_text_tag("body", "BODY:", teleop.client) + "[msg]") to_chat(teleop, create_text_tag("body", "BODY:", teleop.client) + "[msg]")
else else

View File

@@ -82,7 +82,7 @@
if(input) if(input)
log_subtle(message,src) log_subtle(message,src)
message = "<span class='emote_subtle'><B>[src]</B> <I>[input]</I></span>" message = "<span class='emotesubtle'><B>[src]</B> <I>[input]</I></span>"
if(!(subtle_mode == "Adjacent Turfs (Default)")) if(!(subtle_mode == "Adjacent Turfs (Default)"))
message = "<B>(T) </B>" + message message = "<B>(T) </B>" + message
else else

View File

@@ -145,7 +145,7 @@ function start_vue() {
//The table to map game css classes to our vchat categories //The table to map game css classes to our vchat categories
type_table: [ type_table: [
{ {
matches: ".filter_say, .say, .emote, .emote_subtle", //VOREStation Edit matches: ".filter_say, .say, .emote, .emotesubtle", //VOREStation Edit
becomes: "vc_localchat", becomes: "vc_localchat",
pretty: "Local Chat", pretty: "Local Chat",
tooltip: "In-character local messages (say, emote, etc)", tooltip: "In-character local messages (say, emote, etc)",

File diff suppressed because one or more lines are too long