mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 06:40:08 +01:00
[MIRROR] Encode changes (#11301)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
5e6a4639d0
commit
4e2361f8df
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user