mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] encode patch (#11356)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
be6c681c50
commit
25d93e0895
@@ -124,10 +124,9 @@
|
||||
|
||||
|
||||
/datum/data/pda/app/messenger/proc/create_message(var/mob/living/U, var/obj/item/pda/P)
|
||||
var/t = tgui_input_text(U, "Please enter message", name, null)
|
||||
var/t = tgui_input_text(U, "Please enter message", name, null, MAX_MESSAGE_LEN)
|
||||
if(!t)
|
||||
return
|
||||
t = sanitize(copytext(t, 1, MAX_MESSAGE_LEN))
|
||||
t = readd_quotes(t)
|
||||
if(!t || !istype(P))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user