Merge pull request #8047 from Verkister/patch-70

Makes xenowear species WL check for species instead of ckey
This commit is contained in:
Atermonera
2021-04-25 14:24:51 -04:00
committed by VirgoBot
parent 4b22c80a5c
commit 48a6baff4b
@@ -66,7 +66,7 @@ var/list/gear_datums = list()
for(var/gear_name in gear_datums)
var/datum/gear/G = gear_datums[gear_name]
if(G.whitelisted && !is_alien_whitelisted(preference_mob, GLOB.all_species[G.whitelisted]))
if(G.whitelisted != pref.species)
continue
if(max_cost && G.cost > max_cost)
continue