Fixed a game breaking bug.