mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixes #2156 Animation is still played even if you cancel any treatment
This commit is contained in:
parent
4c0c7bc290
commit
3d342ece20
@ -35,8 +35,7 @@ if (vehicle _caller == _caller) then {
|
||||
case "ainvppnemstpslaywpstdnon_medic": {_lastAnim = "AinvPpneMstpSlayWpstDnon"};
|
||||
case "ainvpknlmstpslaywpstdnon_medic": {_lastAnim = "AmovPknlMstpSrasWpstDnon"};
|
||||
};
|
||||
[_caller, _lastAnim, 1] call EFUNC(common,doAnimation);
|
||||
[_caller, _lastAnim, 1] call EFUNC(common,doAnimation);
|
||||
[_caller, _lastAnim, 2] call EFUNC(common,doAnimation);
|
||||
};
|
||||
_caller setvariable [QGVAR(treatmentPrevAnimCaller), nil];
|
||||
|
||||
|
@ -35,7 +35,7 @@ if (vehicle _caller == _caller) then {
|
||||
case "ainvppnemstpslaywpstdnon_medic": {_lastAnim = "AinvPpneMstpSlayWpstDnon"};
|
||||
case "ainvpknlmstpslaywpstdnon_medic": {_lastAnim = "AmovPknlMstpSrasWpstDnon"};
|
||||
};
|
||||
[_caller, _lastAnim, 1] call EFUNC(common,doAnimation);
|
||||
[_caller, _lastAnim, 2] call EFUNC(common,doAnimation);
|
||||
};
|
||||
_caller setvariable [QGVAR(treatmentPrevAnimCaller), nil];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user