Fix the problem where extra skills are missing when writing back the player config file