Species specific jumpsuit sprite fixes (#12552)

This commit is contained in:
Leon Friedrich
2022-11-12 14:57:18 +13:00
committed by GitHub
parent 7e886a56b0
commit 35015795a4
3 changed files with 7 additions and 4 deletions

View File

@@ -298,6 +298,11 @@ public sealed class ClientClothingSystem : ClothingSystem
layer.SetRsi(clothingSprite.BaseRSI);
}
// Another "temporary" fix for clothing stencil masks.
// Sprite layer redactor when
if (slot == "jumpsuit")
layerData.Shader ??= "StencilDraw";
sprite.LayerSetData(index, layerData);
layer.Offset += slotDef.Offset;
}