Skip to content

Commit

Permalink
Merge branch 'master' into translate
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Nov 9, 2023
2 parents 0ec0989 + 1bdbdd1 commit 52ce31c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions modular_ss220/queue/code/new_player_procs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@
/mob/new_player/Logout()
. = ..()

addtimer(CALLBACK(src, PROC_REF(reserve_queue_slot)), 10 MINUTES)
addtimer(CALLBACK(SSqueue, TYPE_PROC_REF(/datum/controller/subsystem/queue, reserve_queue_slot), last_known_ckey), 10 MINUTES)

/mob/new_player/proc/reserve_queue_slot()
if(client?.ckey in GLOB.player_list)

/datum/controller/subsystem/queue/proc/reserve_queue_slot(var/reserved_ckey)
if(reserved_ckey in GLOB.player_list)
return

SSqueue.queue_bypass_list.Remove(last_known_ckey)
queue_bypass_list.Remove(reserved_ckey)

0 comments on commit 52ce31c

Please sign in to comment.