mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 18:27:24 +01:00
Fix customization bug.
This commit is contained in:
parent
60c7debb5e
commit
db34255127
1 changed files with 1 additions and 1 deletions
|
|
@ -190,7 +190,7 @@ internal class CustomizeSetFactory(
|
||||||
|
|
||||||
private CustomizeData[] ExtractValues(CharaMakeType row, CustomizeIndex type)
|
private CustomizeData[] ExtractValues(CharaMakeType row, CustomizeIndex type)
|
||||||
{
|
{
|
||||||
var data = row.CharaMakeStruct.FirstOrNull(m => m.Customize == CustomizeIndex.TailShape.ToByteAndMask().ByteIdx);
|
var data = row.CharaMakeStruct.FirstOrNull(m => m.Customize == type.ToByteAndMask().ByteIdx);
|
||||||
return data?.SubMenuParam.Take(data.Value.SubMenuNum).Select((v, i) => FromValueAndIndex(type, v, i)).ToArray() ?? [];
|
return data?.SubMenuParam.Take(data.Value.SubMenuNum).Select((v, i) => FromValueAndIndex(type, v, i)).ToArray() ?? [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue