Fixed earned badge update
Merge pull request #561 from bellotastudios/eb

Fixed earned badge update