Googles - Only play wipe anim for primary weapon

Close #3638
Animation only makes sense for primary weapon, so skip for others.
This commit is contained in:
PabstMirror 2016-04-12 00:19:24 -05:00
parent d57d6af898
commit 2869a53e6d

View File

@ -26,7 +26,7 @@ _effects set [BROKEN, _broken];
SETGLASSES(_unit,_effects);
if (stance _unit != "PRONE") then {
if ((stance _unit != "PRONE") && {primaryWeapon _unit != ""} && {currentWeapon _unit == primaryWeapon _unit}) then {
_unit playActionNow "gestureWipeFace";
};