mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 03:57:48 +01:00
Fix a few tgui input bugs
This commit is contained in:
@@ -425,8 +425,11 @@
|
||||
to_chat(usr, "<span class='info'>There isn't enough space left on \the [src] to write anything.</span>")
|
||||
return
|
||||
|
||||
var/t = sanitize(input(usr, "Enter what you want to write:", "Write", null, null) as message, MAX_PAPER_MESSAGE_LEN, extra = 0)
|
||||
|
||||
var/raw = input(usr, "Enter what you want to write:", "Write") as null|message
|
||||
if(!raw)
|
||||
return
|
||||
|
||||
var/t = sanitize(raw, MAX_PAPER_MESSAGE_LEN, extra = 0)
|
||||
if(!t)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user