mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 22:57:39 +01:00
[MIRROR] default tgui alert input handling (#8891)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
co-authored by
Kashargul
Kashargul
parent
ec8834f9e5
commit
9f42148ab1
@@ -51,7 +51,7 @@
|
||||
return
|
||||
|
||||
var/confirm = tgui_alert(usr, "Do you want to try to rotate \the [src]?", "[name]", list("Yes", "No"))
|
||||
if(confirm == "No")
|
||||
if(confirm != "Yes")
|
||||
visible_message(\
|
||||
"<span class='notice'>[user.name] decides not to try turning \the [src].</span>",\
|
||||
"<span class='notice'>You decide not to try turning \the [src].</span>")
|
||||
@@ -157,7 +157,7 @@
|
||||
..()
|
||||
|
||||
var/confirm = tgui_alert(usr, "Do you want to try to rotate \the [src]?", "[name]", list("Yes", "No"))
|
||||
if(confirm == "No")
|
||||
if(confirm != "Yes")
|
||||
visible_message(\
|
||||
"<span class='notice'>[user.name] decides not to try turning \the [src].</span>",\
|
||||
"<span class='notice'>You decide not to try turning \the [src].</span>")
|
||||
@@ -186,7 +186,7 @@
|
||||
new_bearing = round(compass_directions[choice])
|
||||
|
||||
confirm = tgui_alert(usr, "Are you certain you want to rotate \the [src]?", "[name]", list("Yes", "No"))
|
||||
if(confirm == "No")
|
||||
if(confirm != "Yes")
|
||||
visible_message(\
|
||||
"<span class='notice'>[user.name] decides not to try turning \the [src].</span>",\
|
||||
"<span class='notice'>You decide not to try turning \the [src].</span>")
|
||||
|
||||
Reference in New Issue
Block a user