mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-29 16:19:36 +01:00
The One Where I Port Modals
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
return TRUE
|
||||
switch(action)
|
||||
if("Edit")
|
||||
var/n = input("Please enter message", name, notehtml) as message
|
||||
var/n = input(usr, "Please enter message", name, notehtml) as message
|
||||
if(pda.loc == usr)
|
||||
note = adminscrub(n)
|
||||
notehtml = html_decode(note)
|
||||
|
||||
@@ -98,7 +98,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("Please enter new ringtone", name, ttone) as text
|
||||
var/t = input(usr, "Please enter new ringtone", name, ttone) as text
|
||||
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