Adjust Security Ticket

if no input do nothing
This commit is contained in:
VerySoft
2022-11-21 16:47:28 -05:00
parent 18b08b299e
commit 08f5641c01
+2 -1
View File
@@ -65,7 +65,8 @@
if(security_printer_tickets.len >= 1)
var/input = tgui_input_list(usr, "Which message?", "Security Tickets", security_printer_tickets)
if(!input)
return
if(tgui_alert(usr, "Do you want to remove the following message from the global list? \"[input]\"", "Remove Ticket", list("Yes", "No")) == "Yes")
security_printer_tickets -= input