mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 13:37:58 +01:00
tails stop wagging when putting on a suit that hides them (#31158)
This commit is contained in:
@@ -851,9 +851,6 @@
|
||||
/obj/item/clothing/suit/equipped(mob/living/carbon/human/user, slot) //Handle tail-hiding on a by-species basis.
|
||||
..()
|
||||
if(ishuman(user) && hide_tail_by_species && slot == ITEM_SLOT_OUTER_SUIT)
|
||||
if(user.tail_wagging)
|
||||
user.stop_tail_wagging()
|
||||
return
|
||||
if("modsuit" in hide_tail_by_species)
|
||||
return
|
||||
if(user.dna.species.sprite_sheet_name in hide_tail_by_species)
|
||||
|
||||
@@ -1177,7 +1177,10 @@ GLOBAL_LIST_EMPTY(damage_icon_parts)
|
||||
/mob/living/carbon/human/proc/update_tail_layer()
|
||||
// If the tail is currently wagging, don't stop wagging.
|
||||
if(tail_wagging)
|
||||
start_tail_wagging()
|
||||
if(wear_suit?.flags_inv & HIDETAIL)
|
||||
stop_tail_wagging()
|
||||
else
|
||||
start_tail_wagging()
|
||||
return
|
||||
remove_overlay(TAIL_UNDERLIMBS_LAYER) // SEW direction icons, overlayed by LIMBS_LAYER.
|
||||
remove_overlay(TAIL_LAYER) /* This will be one of two things:
|
||||
|
||||
Reference in New Issue
Block a user