Fix face paint color not appearing.

This commit is contained in:
Ottermandias 2023-07-14 20:32:38 +02:00
parent 3b145037d7
commit 506f4b887e
2 changed files with 2 additions and 1 deletions

View file

@ -254,6 +254,7 @@ public partial class CustomizationOptions
case CustomizeIndex.HighlightsColor: case CustomizeIndex.HighlightsColor:
case CustomizeIndex.EyeColorLeft: case CustomizeIndex.EyeColorLeft:
case CustomizeIndex.EyeColorRight: case CustomizeIndex.EyeColorRight:
case CustomizeIndex.FacePaintColor:
return CharaMakeParams.MenuType.ColorPicker; return CharaMakeParams.MenuType.ColorPicker;
case CustomizeIndex.BodyType: return CharaMakeParams.MenuType.Nothing; case CustomizeIndex.BodyType: return CharaMakeParams.MenuType.Nothing;
case CustomizeIndex.FacePaintReversed: case CustomizeIndex.FacePaintReversed:

View file

@ -220,7 +220,7 @@ public class CustomizationSet
internal static IReadOnlyDictionary<CharaMakeParams.MenuType, CustomizeIndex[]> ComputeOrder(CustomizationSet set) internal static IReadOnlyDictionary<CharaMakeParams.MenuType, CustomizeIndex[]> ComputeOrder(CustomizationSet set)
{ {
var ret = Enum.GetValues<CustomizeIndex>().SkipLast(1).ToArray(); var ret = Enum.GetValues<CustomizeIndex>().ToArray();
ret[(int)CustomizeIndex.TattooColor] = CustomizeIndex.EyeColorLeft; ret[(int)CustomizeIndex.TattooColor] = CustomizeIndex.EyeColorLeft;
ret[(int)CustomizeIndex.EyeColorLeft] = CustomizeIndex.EyeColorRight; ret[(int)CustomizeIndex.EyeColorLeft] = CustomizeIndex.EyeColorRight;
ret[(int)CustomizeIndex.EyeColorRight] = CustomizeIndex.TattooColor; ret[(int)CustomizeIndex.EyeColorRight] = CustomizeIndex.TattooColor;