adapt codebase
This commit is contained in:
@@ -9,7 +9,6 @@ using Content.Client.Players.PlayTimeTracking;
|
||||
using Content.Client.Sprite;
|
||||
using Content.Client.Stylesheets;
|
||||
using Content.Client.UserInterface.Systems.Guidebook;
|
||||
using Content.Shared._CP14.Humanoid;
|
||||
using Content.Shared.CCVar;
|
||||
using Content.Shared.Clothing;
|
||||
using Content.Shared.GameTicking;
|
||||
@@ -1123,22 +1122,6 @@ namespace Content.Client.Lobby.UI
|
||||
|
||||
break;
|
||||
}
|
||||
// CP14 - Custom HumanoidSkinColor - Start
|
||||
case HumanoidSkinColor.TieflingHues:
|
||||
{
|
||||
if (!RgbSkinColorContainer.Visible)
|
||||
{
|
||||
Skin.Visible = false;
|
||||
RgbSkinColorContainer.Visible = true;
|
||||
}
|
||||
|
||||
var color = CP14SkinColor.MakeTieflingHueValid(_rgbSkinColorSelector.Color);
|
||||
|
||||
Markings.CurrentSkinColor = color;
|
||||
Profile = Profile.WithCharacterAppearance(Profile.Appearance.WithSkinColor(color));
|
||||
break;
|
||||
}
|
||||
// CP14 - Custom HumanoidSkinColor - End
|
||||
}
|
||||
|
||||
ReloadProfilePreview();
|
||||
@@ -1343,19 +1326,6 @@ namespace Content.Client.Lobby.UI
|
||||
|
||||
break;
|
||||
}
|
||||
// CP14 - Custom HumanoidSkinColor - Start
|
||||
case HumanoidSkinColor.TieflingHues:
|
||||
{
|
||||
if (!RgbSkinColorContainer.Visible)
|
||||
{
|
||||
Skin.Visible = false;
|
||||
RgbSkinColorContainer.Visible = true;
|
||||
}
|
||||
|
||||
_rgbSkinColorSelector.Color = CP14SkinColor.MakeTieflingHueValid(Profile.Appearance.SkinColor);
|
||||
break;
|
||||
}
|
||||
// CP14 - Custom HumanoidSkinColor - End
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user