Add a quick resolve button to mentor and adminhelp ticket

This commit is contained in:
variableundefined
2019-08-28 12:59:38 -04:00
parent 9cc758f3d7
commit d25970e13a
3 changed files with 13 additions and 8 deletions
+7
View File
@@ -1571,6 +1571,13 @@
else //Ahelp
SStickets.takeTicket(index)
else if(href_list["resolve"])
var/index = text2num(href_list["resolve"])
if(href_list["is_mhelp"])
SSmentor_tickets.resolveTicket(index)
else //Ahelp
SStickets.resolveTicket(index)
else if(href_list["cult_nextobj"])
if(alert(usr, "Validate the current Cult objective and unlock the next one?", "Cult Cheat Code", "Yes", "No") != "Yes")
return