Job datum blacklist gets reset properly if there is no blacklist (#9747)

This commit is contained in:
mikomyazaki
2020-08-22 12:40:06 +02:00
committed by GitHub
parent e96d442140
commit 92c1907c72
2 changed files with 43 additions and 0 deletions
+2
View File
@@ -29,6 +29,8 @@
var/datum/job/role = SSjobs.type_occupations[path]
if(LAZYACCESS(job_species_blacklist, role.title))
role.blacklisted_species = job_species_blacklist[role.title]
else
role.blacklisted_species = initial(role.blacklisted_species)
. += role
/datum/faction/proc/get_selection_error(datum/preferences/prefs)