stores the value of weapon_sway when the sway ends and returns its value when the swaying starts again.