Gamebreaking bug fix