Arsenal - Fix wrong animation upon opening the arsenal in VR while empty-handed (#9707)

fix vr arsenal anim when empty-handed
This commit is contained in:
Grim
2024-01-01 23:51:57 -03:00
committed by GitHub
parent 0f08ba2fdc
commit b10c68405a

View File

@ -11,6 +11,9 @@ cba_diagnostic_projectileMaxLines = 10;
// Player pose // Player pose
[{ [{
switch (currentWeapon _this) do { switch (currentWeapon _this) do {
case (""): {
_this switchMove "amovpercmstpsnonwnondnon";
};
case (primaryWeapon _this): { case (primaryWeapon _this): {
_this switchMove "amovpercmstpslowwrfldnon"; _this switchMove "amovpercmstpslowwrfldnon";
}; };
@ -19,9 +22,6 @@ cba_diagnostic_projectileMaxLines = 10;
}; };
case (binocular _this); case (binocular _this);
case (secondaryWeapon _this): {}; // deliberately nothing case (secondaryWeapon _this): {}; // deliberately nothing
default {
_this switchMove "amovpercmstpsnonwnondnon";
};
}; };
}, _player] call CBA_fnc_execNextFrame; }, _player] call CBA_fnc_execNextFrame;