mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-20 19:44:46 +01:00
rework tgui say long message handling (#17184)
* rework tgui say long message handling * . * Fix --------- Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
@@ -130,4 +130,8 @@
|
||||
if(type == "entry" || type == "force")
|
||||
handle_entry(type, payload)
|
||||
return TRUE
|
||||
if(type == "lenwarn")
|
||||
var/mlen = payload["length"]
|
||||
var/maxlen = payload["maxlength"]
|
||||
to_chat(client, span_warning(span_bold("Warning") + ": Message with [mlen] exceeded the maximum length of [maxlen]."))
|
||||
return FALSE
|
||||
|
||||
Reference in New Issue
Block a user