Skip to content

Commit

Permalink
memefy
Browse files Browse the repository at this point in the history
  • Loading branch information
Furrior committed Nov 10, 2024
1 parent 54567b8 commit b86f56b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modular_ss220/ai_integration/code/ticket.dm
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
resolveTicket(N)

/datum/controller/subsystem/tickets/mentor_tickets/newTicket(client/C, passedContent, title)
var/datum/ticket/T = ..()
. = ..()
var/datum/ticket/T = .
var/list/mentorcounter = staff_countup(R_MENTOR)
var/mentor_count = mentorcounter[1]
if(mentor_count > 0)
Expand All @@ -58,4 +59,4 @@

var/static/system_message = file2text('strings/ahelp_system_message.txt')
var/question = T.title
GLOB.gpt220.request_completition(system_message, question, CALLBACK(src, PROC_REF(ai_respond_callback), T.ticketNum))
GLOB.gpt220.request_completition(system_message, question, CALLBACK(src, PROC_REF(ai_respond_callback), T.ticketNum, FALSE))

0 comments on commit b86f56b

Please sign in to comment.