mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 13:05:44 +01:00
Faction species blacklists will no longer become null due to incorrect use of initial. (#10120)
This commit is contained in:
@@ -30,7 +30,8 @@
|
||||
if(LAZYACCESS(job_species_blacklist, role.title))
|
||||
role.blacklisted_species = job_species_blacklist[role.title]
|
||||
else
|
||||
role.blacklisted_species = initial(role.blacklisted_species)
|
||||
var/datum/job/J = new role.type
|
||||
role.blacklisted_species = J.blacklisted_species
|
||||
. += role
|
||||
|
||||
/datum/faction/proc/get_selection_error(datum/preferences/prefs)
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
|
||||
author: mikomyazaki
|
||||
|
||||
delete-after: True
|
||||
|
||||
changes:
|
||||
- bugfix: "Faction job-species blacklists will no longer be nulled under some circumstances, allowing invalid job-species combinations."
|
||||
Reference in New Issue
Block a user