Adds validation bool for setting humanoid skin color (#15360)

This commit is contained in:
Flipp Syder
2023-04-23 02:16:59 -07:00
committed by GitHub
parent c8a61a08a8
commit c29968372e
3 changed files with 12 additions and 14 deletions

View File

@@ -145,7 +145,7 @@ namespace Content.Server.Zombies
zombiecomp.BeforeZombifiedSkinColor = huApComp.SkinColor;
zombiecomp.BeforeZombifiedCustomBaseLayers = new(huApComp.CustomBaseLayers);
_sharedHuApp.SetSkinColor(target, zombiecomp.SkinColor, humanoid: huApComp);
_sharedHuApp.SetSkinColor(target, zombiecomp.SkinColor, verify: false, humanoid: huApComp);
_sharedHuApp.SetBaseLayerColor(target, HumanoidVisualLayers.Eyes, zombiecomp.EyeColor, humanoid: huApComp);
// this might not resync on clone?