mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 15:08:34 +01:00
Input Conversion Part 1
This commit is contained in:
@@ -120,7 +120,7 @@
|
||||
|
||||
|
||||
/datum/data/pda/app/messenger/proc/create_message(var/mob/living/U, var/obj/item/device/pda/P)
|
||||
var/t = input(U, "Please enter message", name, null) as text|null
|
||||
var/t = tgui_input_text(U, "Please enter message", name, null)
|
||||
if(!t)
|
||||
return
|
||||
t = sanitize(copytext(t, 1, MAX_MESSAGE_LEN))
|
||||
|
||||
@@ -102,7 +102,7 @@ var/global/list/obj/item/device/pda/PDAs = list()
|
||||
O.show_message(text("[bicon(src)] *[ttone]*"))
|
||||
|
||||
/obj/item/device/pda/proc/set_ringtone()
|
||||
var/t = input(usr, "Please enter new ringtone", name, ttone) as text
|
||||
var/t = tgui_input_text(usr, "Please enter new ringtone", name, ttone)
|
||||
if(in_range(src, usr) && loc == usr)
|
||||
if(t)
|
||||
if(hidden_uplink && hidden_uplink.check_trigger(usr, lowertext(t), lowertext(lock_code)))
|
||||
|
||||
Reference in New Issue
Block a user