diff --git a/code/modules/paperwork/ticketmachine.dm b/code/modules/paperwork/ticketmachine.dm index b1b9086820c..734c9f9284a 100644 --- a/code/modules/paperwork/ticketmachine.dm +++ b/code/modules/paperwork/ticketmachine.dm @@ -88,7 +88,7 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/ticket_machine, 32) QDEL_NULL(current_ticket) if(LAZYLEN(tickets)) current_ticket = tickets[1] - current_number++ //Increment the one we're serving. + current_number = current_ticket.number //Destroyed tickets are removed from the queue, so the next ticket's number may have skipped ahead. playsound(src, 'sound/announcer/announcement/announce_dig.ogg', 50, FALSE) say("Now serving [current_ticket]!") if(!(obj_flags & EMAGGED))