mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 13:38:41 +01:00
Finally fixed the issues with handling ahelps (#13078)
* Finally fixed the issues with handling ahelps * Applied suggestion Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com> Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
This commit is contained in:
co-authored by
Zonespace
parent
fe8dcd5360
commit
6dfe650f1a
@@ -269,14 +269,9 @@
|
||||
SSblackbox.LogAhelp(recipient.current_ticket.id, "Ticket Opened", msg, recipient.ckey, src.ckey)
|
||||
|
||||
//SKYRAT EDIT ADDITION BEGIN - ADMIN
|
||||
if(recipient.current_ticket.handler)
|
||||
if(recipient.current_ticket.handler != usr.ckey)
|
||||
var/response = tgui_alert(usr, "This ticket is already being handled by [recipient.current_ticket.handler]. Do you want to continue?", "Ticket already assigned", list("Yes", "No"))
|
||||
|
||||
if(response == "No")
|
||||
return
|
||||
else
|
||||
recipient.current_ticket.HandleIssue()
|
||||
// Basically, if we realized that we shouldn't've been handling the ticket, let's bail. Otherwise, we just change who's handling it.
|
||||
if(!recipient.current_ticket.handle_issue())
|
||||
return
|
||||
//SKYRAT EDIT ADDITION END
|
||||
|
||||
to_chat(recipient,
|
||||
|
||||
Reference in New Issue
Block a user