Merge pull request #3680 from acemod/wipeAnim

Googles - Only play wipe anim for primary weapon
This commit is contained in:
Nicolás Badano 2016-04-12 10:59:13 -03:00
commit fa2b6dac2d

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";
};