mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
Fixes lowered megamothwings not rendering (#60856)
This commit is contained in:
@@ -248,9 +248,10 @@
|
||||
|
||||
//GENERATE NEW LIMBS
|
||||
var/list/new_limbs = list()
|
||||
var/draw_features = !HAS_TRAIT(src, TRAIT_INVISIBLE_MAN)
|
||||
for(var/X in bodyparts)
|
||||
var/obj/item/bodypart/BP = X
|
||||
new_limbs += BP.get_limb_icon()
|
||||
new_limbs += BP.get_limb_icon(draw_external_organs = draw_features)
|
||||
if(new_limbs.len)
|
||||
overlays_standing[BODYPARTS_LAYER] = new_limbs
|
||||
limb_icon_cache[icon_render_key] = new_limbs
|
||||
|
||||
@@ -590,9 +590,10 @@ generate/load female uniform sprites matching all previously decided variables
|
||||
var/obj/item/bodypart/BP = X
|
||||
. += "-[BP.body_zone]"
|
||||
|
||||
for(var/obj/item/organ/external/organ in BP.external_organs)
|
||||
if(organ.can_draw_on_bodypart(src)) //make sure we're drawn before generating a key
|
||||
. += "([organ.cache_key])"
|
||||
if(!HAS_TRAIT(src, TRAIT_INVISIBLE_MAN))
|
||||
for(var/obj/item/organ/external/organ as anything in BP.external_organs)
|
||||
if(organ.can_draw_on_bodypart(src)) //make sure we're drawn before generating a key
|
||||
. += "([organ.cache_key])"
|
||||
|
||||
if(BP.status == BODYPART_ORGANIC)
|
||||
. += "-organic"
|
||||
|
||||
Reference in New Issue
Block a user