mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-06 06:52:39 +00:00
More standard tgui input conversions (#63464)
This commit is contained in:
@@ -130,7 +130,7 @@
|
||||
return
|
||||
if(R.stat == DEAD) //Dead borgs will listen to you no longer
|
||||
to_chat(usr, span_warning("Error -- Could not open a connection to unit:[R]"))
|
||||
var/message = stripped_input(usr, message = "Enter message to be sent to remote cyborg.", title = "Send Message")
|
||||
var/message = tgui_input_text(usr, "Message to be sent to remote cyborg", "Send Message")
|
||||
if(!message)
|
||||
return
|
||||
to_chat(R, "<br><br>[span_notice("Message from [ID] -- \"[message]\"")]<br>")
|
||||
|
||||
@@ -221,7 +221,7 @@
|
||||
|
||||
var/reason = ""
|
||||
if((requestonly && !self_paid) || !(card_slot?.GetID()))
|
||||
reason = stripped_input("Reason:", name, "")
|
||||
reason = tgui_input_text(usr, "Reason", name)
|
||||
if(isnull(reason) || ..())
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user