mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-28 23:59:40 +01:00
Merge pull request #10206 from VOREStation/upstream-merge-8047
[MIRROR] Makes xenowear species WL check for species instead of ckey
This commit is contained in:
committed by
Chompstation Bot
parent
f516265384
commit
bf5262dd55
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user