some alert cleanup (#17036)

* some alert cleanup

* two more

* .
This commit is contained in:
Kashargul
2025-02-02 02:42:29 +01:00
committed by GitHub
parent b7b864207a
commit 923c4094a0
4 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -1623,7 +1623,7 @@
qdel(src)
/obj/structure/sign/flag/attack_hand(mob/user)
if(alert("Do you want to rip \the [src] from its place?","You think...","Yes","No") == "Yes")
if(tgui_alert(user, "Do you want to rip \the [src] from its place?","You think...",list("Yes","No")) == "Yes")
if(!Adjacent(user)) //Cannot bring up dialogue and walk away
return FALSE
visible_message(span_warning("\The [user] rips \the [src] in a single, decisive motion!" ))