Common - Fix Gesture mutex for scroll-wheel reloads #8142
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Starting loadout
[["SMG_05_F","","acc_pointer_IR","optic_Aco",["30Rnd_9x21_Mag_SMG_02",30],[],""],[],[],[],["V_PlateCarrier1_rgr",[["ACRE_PRC343_ID_1",1],["30Rnd_9x21_Mag_SMG_02_Tracer_Green",1,30],["30Rnd_9x21_Mag_SMG_02_Tracer_Red",1,30]]],[],"","",[],["ItemMap","","ItemRadioAcreFlagged","ItemCompass","ItemWatch",""]]
Use scrollwheel to reload green tracers
Point at something with ace_finger or use ace_gesutres
Ending loadout
[["SMG_05_F","","acc_pointer_IR","optic_Aco",["30Rnd_9x21_Mag_SMG_02",30],[],""],[],[],[],["V_PlateCarrier1_rgr",[["ACRE_PRC343_ID_1",1],["30Rnd_9x21_Mag_SMG_02_Tracer_Red",1,30]]],[],"","",[],["ItemMap","","ItemRadioAcreFlagged","ItemCompass","ItemWatch",""]]
reload is interrupted and
30Rnd_9x21_Mag_SMG_02_Tracer_Green
magazine has vanishedThis uses loadout EH to detect when magazine count drop by 1
It will have false postives for simply dropping ammo on the ground or "pass magazine" action but it will simply block gesutres for a short time, which is far better than losing magazines
Edit: This also supports inventory menu drag-drop reloads