Convert almost all alert() to tgui_alert()

This commit is contained in:
Aronai Sieyes
2021-06-25 17:03:35 -04:00
parent 70bff20384
commit 0da0c54388
191 changed files with 509 additions and 521 deletions
+1 -1
View File
@@ -126,7 +126,7 @@
to_chat(user, "<span class='warning'> BUG:Assembly part missing, please report this!</span>")
return
if(istype(a_left,a_right.type))//If they are the same type it causes issues due to window code
switch(alert(usr, "Which side would you like to use?","Side","Left","Right"))
switch(tgui_alert(usr, "Which side would you like to use?","Side",list("Left","Right")))
if("Left") a_left.attack_self(user)
if("Right") a_right.attack_self(user)
return