[MIRROR] Convert occupation bay prefs to TG (#12732)

Co-authored-by: Aura Dusklight <46622484+NovaDusklight@users.noreply.github.com>
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-05-03 19:40:44 -04:00
committed by GitHub
co-authored by Aura Dusklight Cameron Lennox
parent 9252f1e6d6
commit ff988d2502
8 changed files with 563 additions and 37 deletions
+3 -3
View File
@@ -431,7 +431,7 @@ SUBSYSTEM_DEF(job)
// Hand out random jobs to the people who didn't get any in the last check
// Also makes sure that they got their preference correct
for(var/mob/new_player/player in unassigned)
if(player.client.prefs.alternate_option == GET_RANDOM_JOB)
if(player.client.prefs.read_preference(/datum/preference/numeric/human/alternate_option) == GET_RANDOM_JOB)
give_random_job(player)
job_debug_message("DO, Standard Check end")
@@ -440,13 +440,13 @@ SUBSYSTEM_DEF(job)
// For those who wanted to be assistant if their preferences were filled, here you go.
for(var/mob/new_player/player in unassigned)
if(player.client.prefs.alternate_option == BE_ASSISTANT)
if(player.client.prefs.read_preference(/datum/preference/numeric/human/alternate_option) == BE_ASSISTANT)
job_debug_message("AC2 Assistant located, Player: [player]")
assign_role(player, JOB_ALT_VISITOR) //VOREStation Edit - Visitor not Assistant
//For ones returning to lobby
for(var/mob/new_player/player in unassigned)
if(player.client.prefs.alternate_option == RETURN_TO_LOBBY)
if(player.client.prefs.read_preference(/datum/preference/numeric/human/alternate_option) == RETURN_TO_LOBBY)
player.ready = PLAYER_NOT_READY
unassigned -= player
return TRUE