Fixed an issue with the player destry functionality.