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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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