Generate /breed issue
Viper-DEV-42 opened this issue · comments
Viper-DEV-42 commented
Help.
when i breed/generate new cat sometimes gaves me this error
TypeError: Cannot read property 'color' of undefined
ColorCattribute.getCssColor
src/components/js/ColorCattribute.js:27
24 |
25 | // returns the hex color value
26 | getCssColor() {
27 | return colorObj[this.value].color;
| ^ 28 | }
29 |
30 | get valueName() {