Fixed using a deprecated method in GameManager.