mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
[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:
@@ -71,7 +71,8 @@
|
||||
to_chat(src, "<span class='filter_notice'><I>... You can almost hear someone talking ...</I></span>")
|
||||
else
|
||||
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)
|
||||
to_chat(teleop, create_text_tag("body", "BODY:", teleop.client) + "[msg]")
|
||||
else
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
|
||||
if(input)
|
||||
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)"))
|
||||
message = "<B>(T) </B>" + message
|
||||
else
|
||||
|
||||
@@ -145,7 +145,7 @@ function start_vue() {
|
||||
//The table to map game css classes to our vchat categories
|
||||
type_table: [
|
||||
{
|
||||
matches: ".filter_say, .say, .emote, .emote_subtle", //VOREStation Edit
|
||||
matches: ".filter_say, .say, .emote, .emotesubtle", //VOREStation Edit
|
||||
becomes: "vc_localchat",
|
||||
pretty: "Local Chat",
|
||||
tooltip: "In-character local messages (say, emote, etc)",
|
||||
|
||||
2
code/modules/vchat/js/vchat.min.js
vendored
2
code/modules/vchat/js/vchat.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user