mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-30 08:50:51 +01:00
Fix catalog var
This commit is contained in:
parent
6609935045
commit
0358b7cae4
@ -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 ]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user