Changes how the newly added toggle option for attacking behaves by stopping to attack when switching hotbar slots