Revert "TGUI alerts, lists, inputs"
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
if(!can_change_id)
|
||||
return
|
||||
var/new_id
|
||||
new_id = tgui_input_text(user, "Set ID", "Set ID", show_id? id : null)
|
||||
new_id = input(user, "Set ID", "Set ID", show_id? id : null) as text|null
|
||||
if(!isnull(new_id)) //0/"" is considered !, so check null instead of just !.
|
||||
id = new_id
|
||||
|
||||
|
||||
@@ -116,7 +116,7 @@
|
||||
to_chat(user, "<span class='danger'>Assembly part missing!</span>")
|
||||
return
|
||||
if(istype(a_left,a_right.type))//If they are the same type it causes issues due to window code
|
||||
switch(tgui_alert(user, "Which side would you like to use?",,list("Left","Right")))
|
||||
switch(alert("Which side would you like to use?",,"Left","Right"))
|
||||
if("Left")
|
||||
a_left.attack_self(user)
|
||||
if("Right")
|
||||
|
||||
Reference in New Issue
Block a user