From ea7f9a92c3b06c3bc8ce31ff0cc0e79703cb7fcd Mon Sep 17 00:00:00 2001 From: ReturnToZender Date: Thu, 21 Dec 2023 22:43:24 -0600 Subject: [PATCH] Oops! Broke Job Estimation! (#877) ## About The Pull Request I accidentally removed an ! in the job estimation menu, meaning only people who switched it on actually showed on the menu. Of course, people didn't know this, and didn't turn off their preference. This fixes that. ![image](https://github.com/Bubberstation/Bubberstation/assets/110273561/874af1cb-1af6-424a-8de3-6205a0d542ac) ## Why It's Good For The Game Job estimation my beloved ## Changelog :cl: ReturnToZender fix: job estimation actually works again /:cl: --- modular_zubbers/code/modules/job_estimation/code/dead.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modular_zubbers/code/modules/job_estimation/code/dead.dm b/modular_zubbers/code/modules/job_estimation/code/dead.dm index e159d88e45f..0293239ed4b 100644 --- a/modular_zubbers/code/modules/job_estimation/code/dead.dm +++ b/modular_zubbers/code/modules/job_estimation/code/dead.dm @@ -37,7 +37,7 @@ var/datum/job/J = prefs?.get_highest_priority_job() var/title = J?.title //If a player does not have preferences (for some reason) or they don't want to be shown on the panel, continue - if(!J || (prefs.read_preference(/datum/preference/toggle/ready_job))) + if(!J || !(prefs.read_preference(/datum/preference/toggle/ready_job))) continue //If the readied player has selected a miscellaneous job (Assistant, or Prisoner), they shouldn't be displayed if(title == JOB_ASSISTANT || title == JOB_PRISONER)