Fix catalog var

This commit is contained in:
MyNameIsBatman 2021-06-11 23:02:53 -03:00
parent 6609935045
commit 0358b7cae4

View File

@ -137,13 +137,13 @@ export function GetPetAvailableColors(petIndex: number, palettes: SellablePetPal
if(!petColorResult) continue;
if(petColorResult._Str_5845 === petColorResult._Str_6659)
if(petColorResult.primaryColor === petColorResult.secondaryColor)
{
colors.push([ petColorResult._Str_5845 ]);
colors.push([ petColorResult.primaryColor ]);
}
else
{
colors.push([ petColorResult._Str_5845, petColorResult._Str_6659 ]);
colors.push([ petColorResult.primaryColor, petColorResult.secondaryColor ]);
}
}