[MIRROR] Encode changes (#11301)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-08-05 01:23:19 +02:00
committed by GitHub
co-authored by Kashargul
parent 5e6a4639d0
commit 4e2361f8df
202 changed files with 370 additions and 408 deletions
+2 -2
View File
@@ -72,7 +72,7 @@ GLOBAL_LIST_EMPTY(env_messages)
if(!istype(src) || !get_turf(src) || !src.ckey)
return
var/new_message = sanitize(tgui_input_text(src, "Type in your message. It will be displayed to players who hover over the spot where you are right now. If you already have a message somewhere, it will be removed in the process. Please refrain from abusive or deceptive messages, but otherwise, feel free to be creative!", "Env Message"))
var/new_message = tgui_input_text(src, "Type in your message. It will be displayed to players who hover over the spot where you are right now. If you already have a message somewhere, it will be removed in the process. Please refrain from abusive or deceptive messages, but otherwise, feel free to be creative!", "Env Message", MAX_MESSAGE_LEN)
if(!new_message)
return
@@ -136,7 +136,7 @@ GLOBAL_LIST_EMPTY(env_messages)
if(!get_turf(mob) || !src.ckey)
return
var/new_message = sanitize(tgui_input_text(src, "Type in your message. It will be displayed to players who hover over the spot where you are right now.", "Env Message"))
var/new_message = tgui_input_text(src, "Type in your message. It will be displayed to players who hover over the spot where you are right now.", "Env Message", "", MAX_MESSAGE_LEN)
if(!new_message)
return