mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] Adds Catborg, Kittyborgs, and Gryphborg (#9950)
Co-authored-by: Cameron Lennox <killer65311@gmail.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
d78571bdde
commit
09e1ccbdcd
@@ -105,11 +105,13 @@ SUBSYSTEM_DEF(robot_sprites)
|
||||
/datum/controller/subsystem/robot_sprites/proc/get_whitelisted_sprites(var/ckey, var/spritename, var/module)
|
||||
. = list()
|
||||
|
||||
ckey = null // CHOMPDisable, removing custom robot sprites
|
||||
|
||||
if(!ckey || !spritename || !module || !(module in whitelisted_sprites_by_module))
|
||||
return
|
||||
|
||||
for(var/datum/robot_sprite/RS in whitelisted_sprites_by_module[module])
|
||||
if(RS.whitelist_ckey == ckey && RS.whitelist_charname == spritename)
|
||||
if(RS.whitelist_ckey == ckey) //If we're trusting people to be a custom borg, does the whitelist_charname really matter? Leaving untouched for downstream, but really.
|
||||
. |= RS
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user