No more constant handling (#8079)

This commit is contained in:
GoldenAlpharex
2021-09-09 17:47:08 -04:00
committed by GitHub
parent 44ce8096a4
commit ebfdd43294
@@ -7,12 +7,13 @@
if(state != AHELP_ACTIVE)
return
//SKYRAT EDIT ADDITION BEGIN - ADMIN
if(handler && handler == usr.ckey) // No need to handle it twice as the same person ;)
return
if(handler && handler != usr.ckey)
var/response = tgui_alert(usr, "This ticket is already being handled by [handler]. Do you want to continue?", "Ticket already assigned", list("Yes", "No"))
if(!response || response == "No")
return
//SKYRAT EDIT ADDITION END
var/msg = span_adminhelp("Your ticket is now being handled by [usr?.client?.holder?.fakekey? usr.client.holder.fakekey : "an administrator"]! Please wait while they type their response and/or gather relevant information.")