cryptozombies-lesson-code
cryptozombies-lesson-code copied to clipboard
Duplicate zombie when renamed (Lesson 5, Chapter 14)
Hi ! First, thank you for this tutorial, I'm new to blockchain development and it's well explained and easy to follow.
It seems that there is a bug.
LESSON : 5
CHAPTER : 14
BUG :
When I renamed my zombie from NoName to Jack it duplicated as you can see on the image below with the two identical zombies on the right.
If I rename NoName again it changes Jack's name.

He survived through lesson 6 too...

What is really happening here is that the renamed zombie is the one on the left that you click on. If you want to rename 'NoName', the renamed zombie is the one on the left (Jhon) in your case