Added resetPlayerData() in playerdata.