Fixes some issues with TGUI Alerts, and Text Input (#24282)

* Well... maybe that's not better way

* PDA and all_channels encryptionkey

* Alert fixes

* Bad style
This commit is contained in:
Aylong
2024-02-24 18:28:26 +00:00
committed by GitHub
parent a44f9ca128
commit 329398b4f0
27 changed files with 62 additions and 73 deletions
@@ -279,7 +279,7 @@
return
used = TRUE // Set this BEFORE the popup to prevent people using the injector more than once.
var/choice = tgui_alert(user, "The injector is still unused. Do you wish to use it?", "Fireproofing injector", list("Yes", "No"))
if(choice == "No")
if(choice != "Yes")
to_chat(user, "<span class='notice'>You decide against using [src].</span>")
used = FALSE
return