Fixed game-breaking bug